<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ben Radclyffe on Medium]]></title>
        <description><![CDATA[Stories by Ben Radclyffe on Medium]]></description>
        <link>https://medium.com/@benradclyffe?source=rss-14ca0468e1a9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tfBelhZNSxRPbYQk7Mh17w.jpeg</url>
            <title>Stories by Ben Radclyffe on Medium</title>
            <link>https://medium.com/@benradclyffe?source=rss-14ca0468e1a9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:34:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@benradclyffe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Algo Trading Part 2 — Execution Algos]]></title>
            <link>https://blog.virtex.co/algo-trading-part-2-execution-algos-02e4d8a5324d?source=rss-14ca0468e1a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/02e4d8a5324d</guid>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[quant-trading]]></category>
            <category><![CDATA[electronic-trading]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Ben Radclyffe]]></dc:creator>
            <pubDate>Fri, 01 Nov 2024 17:55:42 GMT</pubDate>
            <atom:updated>2024-11-01T17:55:42.664Z</atom:updated>
            <content:encoded><![CDATA[<h3>Algo Trading Part 2 — Execution Algos</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KOfQ_psW8kFJSe_IrLerxg.png" /></figure><p>In <a href="https://blog.virtex.co/algo-trading-part-1-f615e3054d84"><strong>Part One</strong></a>, we traced the journey of electronic trading, from the days of colourful jackets and loud trading floors to the era of hardware based bots competing for nanoseconds. Today, trading has reached a point where relying solely on human intuition and manual clicks is simply not viable — if you’re not using trading algos, chances are you’re up against those who are, and they’re built to outmanoeuvre you at every step.</p><p>Now, in <strong>Part Two</strong>, we’ll dive into the specifics of these algorithms. Here, we’ll cover execution strategies and the tools crypto traders and brokers can use to make their trades more efficient — and ideally, more profitable. We’ll explore the most common types of execution algos, how they’ve adapted to the unique demands of crypto trading, and what to consider when choosing a platform (or even building your own).</p><h3>tldr;</h3><p>Automated trading strategies are an essential addition to any trading desk’s arsenal. They enable teams to scale, reduce risk and errors and can improve trading outcomes across a whole portfolio. They aren’t perfect though, and need well designed controls and thoughtful oversight.</p><h3>A Brief History</h3><p>It wouldn’t be one of my posts without a quick look at how we got here. Like many groundbreaking innovations, the first execution algos were crafted by trading desks looking to lighten their workloads and increase efficiency (smart, lazy people are brilliant if they’re motivated!). In the early 2000s, a few transformative trends started taking shape. First came the introduction of <a href="https://w.wiki/BmbF">FIX messaging</a> — protocol that allowed buy-side firms to connect their trading systems directly to those of sell-side counterparties. Initially, FIX aimed to eliminate errors from manual data entry, but as traders recognised its potential to streamline communication, it quickly became the standard for sending order instructions and cutting down on tedious legwork.</p><p>Around the same time, there was a surge in trading volumes. As markets grew rapidly, trading desks became stretched, tasked with handling more flow than ever. Juniors, who were often responsible for manually slicing those orders into the market, struggled to keep up without making mistakes. Then, some bright spark had a breakthrough. If clients were already sending some of these orders electronically, why not create a system to bypass trading desks entirely for straightforward transactions? This led to the birth of the first Direct Market Access (DMA) products, which allowed certain orders to be sent directly to exchanges.</p><p>While this setup worked well for smaller orders, more complex trades still required human oversight. To tackle this, the first true execution algorithms were developed. These initial algos — basically time-slicers built in VBA — automated the job of junior traders (and their stopwatches!) by splitting large orders up over the day, using the same infrastructure as the DMA trades were using. Thus, the first Time-Weighted Average Price (TWAP) algorithms were born, laying the foundation for modern execution algos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tFXJi4OZB55yc43Bz7hdEQ.png" /></figure><h3>The Impact of Automation</h3><p>Execution algos have transformed trading by allowing traders to automate and scale. In the “olden days”, a trading desk was limited in its ability to take on too many complex instructions or run the risk of messing things up. Think of the TWAP example above where a trader has been asked to buy 10 BTC over the next 10 hours. Easy enough — set a timer that beeps every hour and press the buy button for 1 BTC every time it goes off.</p><p>Now imagine that you have 10 such orders for different assets on different markets with different timings. You’d also like to go to lunch at some point and the price moved on you and you didn’t complete the last hour’s trade properly for one of them. Things will almost certainly be forgotten about or errors made. It’s also rare that order instructions are this simple — often they come with constraints and benchmarks to hit and larger orders need even more care or you run the risk of moving prices against you as we’ve discussed.</p><p>The biggest impact of algorithmic trading has been to automate these complex instructions and allow scale without error. Previously only the largest, most important trades could afford to have a person constantly watch and adjust things. A machine doesn’t care how big or small an order might be — it can slice and dice the smallest orders at a scale and precision that would be impossible to manage manually.</p><p>The upside is that each of these orders should now get a slightly better outcome — a benefit that adds up over time to be fairly large when measured at the portfolio level. The downside of all this automation is a massive increase in the sheer number of orders going through the system as a whole. This has an impact not only on the computers that need to keep up with all the traffic, but the people who need to monitor it all.</p><h3>Choosing the Right Tool for the Job</h3><p>Each strategy is designed for specific market conditions, and over the past couple of decades, these tools have grown quite sophisticated. A glance at the web pages for the electronic trading products of the major investment banks will reveal strategy names like ‘Stealth’, ‘Guerrilla’, and ‘SigmaX’ reflecting an industry that’s not only technically advanced but also big business with marketing budgets to match.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K9t0cFLLDBkCzfZmnFFZLQ.png" /><figcaption>There’s an Algo for that ! The Stealthy Gorilla</figcaption></figure><p>While some of these names are obviously meant to capture client interest, they mostly boil down to a small set of underlying strategy types — a bit like Calpol®, Lemsip®, Panadol®, Tylenol®, etc are all just Paracetamol…</p><p>Here’s a look at some of the most popular ones, some of their options and a bit on why you’d use them:</p><h3>Trading Tools</h3><p>The simplest set of algos that act more like triggers than having any real smarts. These tools aren’t sophisticated enough to act independently but can save traders a great deal of time. They’re also often used as building blocks for the complex ones we’ll see later on.</p><p><strong>Smart Order Routing (SOR)<br></strong>As discussed in our earlier <a href="https://blog.virtex.co/an-introduction-to-multi-venue-order-routing-0e65792ea68a">blog series</a>, the SOR is responsible for routing orders across multiple venues to find the best available price. The SOR is often set up as a separate component in a trading stack and acts as the last step to market through which all other algos send their orders, leveraging the smarts by default. You could give the SOR a list of venues it was allowed to go to, or even a list it wasn’t. An advanced one might know about latencies between different markets as well as the ability to ping dark pools before going to public markets.</p><p><strong>Smart DMA<br></strong>The SmartDMA strategy abstracts away the complexities of individual markets, allowing traders (and other algos) to connect to multiple venues without needing to understand the underlying rules and features. Imagine trading across 20 venues, each with unique tick sizes and order type support like Immediate-or-Cancel or native Icebergs. If you wanted to take advantage of some of these features, every trader and other algo on the platform would need to know about each of these details. A SmartDMA algo can synthesise this functionality, handling these quirks automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dolltI6tpBuAFHVMNyPKIw.png" /></figure><p><strong>Iceberg<br></strong>Like its namesake, an Iceberg order reveals only a small portion of its total quantity at a time. Once the visible part is filled, it reloads. Originally, Icebergs would just reload at a particular price, but now they can also peg dynamically as markets move, adjusting up and down as needed — ideal for capturing the spread and earning rebates.</p><p><strong>Sniper<br></strong>This one does what it says on the tin. It waits for the market to hit a specific trigger price before executing the order. For example, if you set a Sniper to buy 1 BTC at $70,000, it will remain hidden until the price reaches or drops below that target, then execute as quickly as possible (like you’d armed your Sniper with a gatling gun…).</p><h3>Trading Strategies</h3><p>These are where the real smarts lie. Often drawing on real-time and historical heuristics to make better decisions or predictions. They’re almost infinitely customisable and tend to have been designed with a particular benchmark in mind.</p><p><strong>Time-Weighted Average Price (TWAP)<br></strong>The O.G. of execution algos and one of the simplest. It’s a great choice for steady markets or when you need to synchronise multiple trades (eg. buy 10 BTC and sell 10 BTC <a href="https://en.wikipedia.org/wiki/Perpetual_futures">Perps</a> over an hour). TWAP breaks down a large order into smaller chunks and distributes them evenly over a specified timeframe. The main input a TWAP needs from a trader is the trade duration: too short, and you may cause price impact; too long, and the price could shift unfavourably.</p><p>Imagine you’re handling a large sell order for a relatively stable crypto asset. Rather than dumping it into the market all at once — which could move the price — TWAP gradually places smaller sell orders. Trading in this way also has the side-effect of averaging out your price. Instead of trying to pick the best time to enter the market, you get an average over the lifetime of your trade — a bit like dollar-cost-averaging, but on a shorter timescale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gh_GDnz0k39LhJ_s6fx8dQ.png" /></figure><p><strong>Volume-Weighted Average Price (VWAP)<br></strong>One of the big downsides to using TWAP to get an average price is that average prices are skewed by how <strong><em>much</em></strong> is traded, not just the price it traded at. Back in the 80’s, the VWAP benchmark was created as a better way to assess execution quality by also taking into account the volume traded at each price point during a day’s trading. It quickly became the standard for evaluating whether trades were completed at advantageous prices and while more modern benchmarks have been developed since, it’s still pretty ubiquitous.</p><p>What a VWAP algo needs to do then is to <strong><em>predict</em></strong> how market volume is going to be spread out over its lifetime and then slice its orders accordingly. In traditional markets, looking at historical volume distributions and adapting to live events gives pretty reasonable results. However, crypto markets can be trickier — they don’t tend to have structured trading sessions or regional timezone skews — making volume curves harder to predict accurately.</p><p><strong>Participation Algos<br></strong>Participation algos aim to blend into the market by adapting to real-time conditions. A simple example is a Percentage-of-Volume algo — as soon as a trade occurs, the algo would immediately trade some percentage of that volume. With this setup, if there’s a surge in trading volume, a Participation algo will speed up naturally, taking advantage of the extra liquidity.</p><p>The algos are also particularly simple for a trader to interact with — worried about your impact? Dial down the percentage. Want to pick up the pace? Increase it. It’s an effective way to trade without calling attention to yourself.</p><p>While a simple version of this algo type might just cross the spread every time there’s a trade, a more sophisticated version might aim for a volume <strong><em>range</em></strong>, and queue orders up passively.</p><p><strong>Implementation Shortfall (IS)<br></strong>Implementation Shortfall is a benchmark that measures the difference between the price at the time a trade decision is made and its final execution price. Designed to capture the hidden costs of trading, IS has become a key metric for evaluating how well an order minimises both market impact and opportunity costs.If you go too quickly, the price will move due to impact. Too slowly and the price might move anyway.</p><p>IS algos adjust their trading pace based on market conditions like liquidity and price momentum — speeding up when liquidity is high and holding back if prices start to move. The approach is similar to a Participation algo but more sophisticated. If the market presents an opportunity to execute the entire order without causing a price shift, an IS algo can act on it — unlike a Participation algo, which has to wait for other trades before reacting.</p><h3>Combining Strategies</h3><p>This small set of automated strategies should be able to support even the most demanding trading requirements, freeing up traders to add value elsewhere. However, the real power of algo trading lies in combining strategies. Imagine being given an order from a client with the following instructions:</p><p>“Buy 10 BTC over the next 5 hours. If the price goes above $71,000, speed up. If the price drops below $69,420, then get it done.”</p><p>This would be pretty challenging to execute manually, especially while juggling other tasks. On an algo platform, however, you could combine a TWAP with an IS and a Sniper with triggers set appropriately. Combining strategies is complex, and it’s important to understand how the algo will react at the thresholds of different trigger points to avoid unintended consequences.</p><p>Combination strategies are also useful when looking at contingent orders such as Pairs Trades or those as part of a broader portfolio where algos need to be aware of each other so they can remain synchronised.</p><h3>Managing Constraints</h3><p>Like when trading manually, algorithms are bound by their instructions and their environment — price limits, market volumes, timeframes, and risk controls all play a part. Understanding how algos behave under these constraints is crucial. Here’s an example to illustrate the importance of constraint management:</p><p>Imagine a TWAP order to buy 100 BTC over the next 12 hours with a $72,000 price limit. If BTC trades at $73,000 for the first 11.5 hours, the algo won’t have been able to trade anything at all up until that point. If the price suddenly drops, an unrefined algo might rush to complete the order in the final 30 minutes, potentially causing havoc, or at least signalling its intent to anyone watching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*thSLhxyXx7a37wW-jrpAHw.png" /><figcaption>When Automated things go wrong, they go wrong quickly</figcaption></figure><p>To avoid this, a trader might apply a volume limit to the algo, which would stop it from causing too much harm. The downside is that the order probably won’t complete. In a situation like this one, that’s normally fine, but someone needs to be told that’s a possibility so they can make a decision on what to do. Monitoring and alerting at scale is pretty tricky without the right tools for the job.</p><h3>Bringing It All Together with the Right Workflow</h3><p>Algo trading requires more than just sophisticated algorithms — it needs a seamless workflow. Managing even a single algo can be challenging and traders need visibility into what an algo is doing, how it’s performing, and whether it’s on track to hit its benchmark. As complexity grows, monitoring all this activity becomes even harder, and managing by exception — focusing only on outliers — becomes the only way to stay sane. Ironically, this means building even more algos to help manage and monitor the algos you built to solve the original problem!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D9VwUaYz4Kfx4mf9hERSEw.png" /><figcaption>Try fitting that on a 15&quot; monitor</figcaption></figure><h3>Enter the Order Management System</h3><p>A modern Order Management System (OMS) serves as the control centre for a firm’s trading activity. It offers a unified view of all activity — trades, algos, fills, positions, risk and so on. It integrates with your algorithmic trading stack, and provides real-time monitoring and conditional alerts — especially useful if you’re trading for a bunch of other people. In the event of an issue, a decent OMS will provide traders the information to investigate, and the capability to nudge things along, or even assume control over orders as needed. To take full advantage of the algorithmic trading stack we’ve described in this blog post, you really need a fully integrated OMS.</p><h3>Want to Learn More?</h3><p>I could talk about this stuff for hours. If you’d like to learn more about using automated trading for your digital asset business, how to pick a decent OMS, or find out how the Virtex platform could help you, please <a href="http://virtex.co/contact">get in touch.</a></p><p>If you enjoy these, check out the rest of them on <a href="http://blog.virtex.co/">blog.virtex.co</a> and subscribe to get future posts and I’ll put an audio version of this on my <a href="http://virtex.co/ben">LinkedIn</a>.</p><p>If you have ideas of requests for future posts, please let me know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02e4d8a5324d" width="1" height="1" alt=""><hr><p><a href="https://blog.virtex.co/algo-trading-part-2-execution-algos-02e4d8a5324d">Algo Trading Part 2 — Execution Algos</a> was originally published in <a href="https://blog.virtex.co/">Virtex Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algo Trading — Part 1]]></title>
            <link>https://blog.virtex.co/algo-trading-part-1-f615e3054d84?source=rss-14ca0468e1a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/f615e3054d84</guid>
            <category><![CDATA[quant-trading]]></category>
            <category><![CDATA[electronic-trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[Ben Radclyffe]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 08:35:45 GMT</pubDate>
            <atom:updated>2024-10-07T08:35:45.868Z</atom:updated>
            <content:encoded><![CDATA[<h3>Algo Trading — Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INt9F35tRZMEIjPK-_5UzA.png" /></figure><p>In the fast-paced world of trading, human intuition has its limits. Enter the machines, where algorithmic trading reigns supreme. This two part post aims to give an understanding of the evolution of electronic markets and how algorithmic trading can help give an edge in a highly competitive space.</p><h3>tldr;</h3><p>Computers are far better than humans at making real time decisions based on many inputs at the same time. Handing over the decision making for the microstructure part of your trading strategies to a machine can yield massive improvements in performance — both for individual orders, and as those things add up, the portfolio or fund you’re trading for.</p><p>Given the prevalence of these tools, it helps to remember that you’re likely trading against a bot that’s specifically designed to take your money. Trying to compete manually is like bringing a stick to a re-enactment of <a href="https://en.wikipedia.org/wiki/Terminator_2:_Judgment_Day">Judgement Day</a>.</p><h3>The Birth of Electronic Markets</h3><p>Before jumping straight into a detailed post about market microstructure and Markov Chains, I thought it would be helpful to start with a quick history of Electronic Trading and where “algos” came from in the first place. There are a load of different categories of “algos” and having some context is useful.</p><p>In the 80s, Wall Street faced Black Monday, when manual trading floors — dominated by loud traders in colourful jackets — struggled to keep up with chaos. Market Makers (those providing liquidity by buying or selling assets using their own capital)* and traders relied on slow, human processes, but this event showed the cracks in such systems, culminating in one of the biggest crashes the markets have ever seen. To prevent future disasters, NASDAQ introduced automated systems, marking the first step toward today’s algorithmic trading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9XkNk3xxzXE-9k11mdPEA.png" /></figure><p>As you can probably imagine, a pit full of people shouting at each other isn’t a particularly scalable solution for trading, but it worked ok. The problem on Black Monday was that EVERYONE was trying to sell at the same time. If you’re one of the guys manning the phones and you have two phones ringing — Mr Jones, a retail client with $10,000 worth of savings and; the President of Fidelity, who pays your firm a quadrillion dollars a year — it doesn’t take a rocket scientist to work out which phone is going to be picked up.</p><p>Normally, Mr Jones would be fine with this and happy to sit on hold for a while, but on that fateful day, his (and thousands of others’) phone call was ignored until after the market had closed and his net worth had dropped 50%.</p><p>In the aftermath and media storm that followed, NASDAQ implemented a rule requiring Market Makers to fill any small orders at the current best bid or offer, as well as upgrading their electronic Small Order Execution System (SOES) — those retail users could now go about their business without waiting in line for a guy to answer the phone. All very sensible.</p><h3>Trading Wars: The Rise of the Machines</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zdb-LmB7fA1HdYFfbPn-XA.png" /></figure><p>As with most technical innovations in financial markets, it took about a nanosecond before someone worked out how to abuse it. Firms sprung up around New York who invested in these terminals and went to work pretending to be retail traders while picking off stale prices from unsuspecting Market Makers, who had popped to lunch, or gone to the loo.</p><p>Another trait of financial markets is that it doesn’t take very long to up your game if you’re losing money, or you go out of business. Some of the more savvy Market Makers started using computers to keep their prices up to date, or at least less attractive vs others. What they found is that they had a huge advantage over those trying to do everything manually as they could market-make many more instruments with the same resources, meaning they didn’t need to make as much money on each trade. Not needing to make as much money meant they could narrow their spreads and still be profitable.</p><p>Those Market Makers and price takers are still locked in a kind of arms-race today. Makers trying to compete with each other on price, all the while trying to avoid being picked off by the takers.</p><h3>Speed Matters: Low-Latency Trading</h3><p>While it seems slightly comical, the example of our Market Maker popping to the toilet isn’t that far off what still happens. Market Makers don’t have a crystal ball, so their prices need to be based off of something measurable. By using a combination of (amongst other things) current prices, inventory, risk tolerance and some clever maths, they come up with a set of asset prices that should statistically make them some money. All of those inputs change frequently, so they need to continually update their bids and offers to reflect the latest information, or risk being picked off. If they’re slow in doing so (ie. toilet break / lunch), the statistics will skew and they’ll lose money.</p><p>Generally, as a Market Maker, being faster means you make more money (or at least, lose less) and not being the <strong><em>fastest </em></strong>can be the difference between winning it all and going bust.</p><h4>The Race Wire: The Original Latency Trade</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C30rtoOlkjbWg9SJnbOfQw.png" /></figure><p>One of my favourite examples of latency advantages is from the gambling syndicates of Chicago in the early 1900s. One thing can be said about organised crime — it is organised… Before the days of Betfair and their ilk, if you wanted to put money on a horse race, you would go to your local bookmakers, who would give you odds, take your cash and pay you out if you won. Unless you were at the track, you’d be reliant on slower forms of communication (newspapers, word of mouth, etc) to find out who the winners were, but the bookies were in the same situation, so all was fair.</p><p>What the enterprising syndicates had done though was to buy their own telegraph network so they could find out the winners before anyone else. If you turned up to place a bet on a horse that had already lost, the bookies would take your bet. If you placed a bet on a winner, it was suddenly too late to do so.</p><p>Having information before others can be profitable.</p><h4>A Real Life Crypto Example: Tokyo vs Dublin</h4><p>Bringing things back to crypto, a more modern example of the Race Wire can be seen when trading instruments which always follow prices somewhere else — listings on smaller, less liquid exchanges; indices; futures expiries; etc.</p><p>If you can react to a price move on another venue, say in Tokyo, and pick off stale prices on an exchange running in Dublin, then you’ve found an arbitrage. If that arbitrage is profitable enough, then it’s worth spending a lot of money fighting the laws of physics to defend it. Getting that data between locations as quickly as possible is a billion dollar industry with microwave dishes, laser beams, cables through mountains and so on. Anything to get a signal to another place faster than the competition.</p><p>If you’re trading manually on a market, trying to pick off prices by hand, and it seems like the prices are moving before you even click the button and things are unfair, it’s because they do and it is. Actually, in some markets, those trades are happening while the light is travelling from your monitor to your eyes…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_hOkNi3Di856_QxV0MbPQ.png" /><figcaption>Hunting for your orders</figcaption></figure><h3>Stay Hidden: Information Leakage &amp; Anonymity</h3><p>So far, we’ve spoken only about two types of market participant — the Market Maker and their arch enemy, the Price Taker. As both are constantly reacting to activity in the markets they’re active in, everyone else needs to be careful about how they tread, less their ripples make an impact.</p><p>So, while speed is critical for some players, for institutional investors and traders working large orders, staying hidden is equally as important. In markets where size moves prices, how you manage and conceal your trades can make a huge difference to the overall outcome.</p><p>Let’s say you’re a trader for a large fund who would like to sell $10m worth of Bitcoin in the next few hours to fund another investment elsewhere. In an ideal world, there would be a buyer the same size at the same time, but that’s pretty unlikely, so you may need to start trading in the public market.</p><p>You have a few options:</p><h4>Send your order to an exchange</h4><p>If you placed your order on Binance without a price limit, it would fill, but only after you’d moved the price of BTC down by about 20%. For those who have read the previous posts on <a href="https://blog.virtex.co/smart-order-routing-part-ii-2fef92456fdc">Smart Order Routing</a>, you’ll know you could split the order up across multiple venues, accessing more liquidity and dampening the price effect, but you’d still have a pretty hefty impact.</p><p>Instead of selling at-market, you could post your order to an exchange and wait for people to buy from you. Unfortunately, you’ll still move the price simply by telling the market about your desire to sell a large quantity. Everyone else will want to finish their selling before you have a chance to impact the price, as above. In addition, all the Market Makers now know you’re coming and will re-adjust their bids, safe in the knowledge you’ll have to come to them eventually.</p><h4>Trade over time</h4><p>If slicing your order to market in one go is a bad idea, then how about slicing it up into much smaller pieces? Disguising your big order as lots of small ones is a great idea, with the obvious downside that the price could change <strong><em>anyway</em></strong> before you’ve finished trading — the longer you wait, the more that price could shift away from you. Should you start quickly and slow down if it feels like you’re causing impact? Should you speed up if the price moves away?</p><p>Slicing your order up into loads of tiny orders is also incredibly manually intensive. Even a simple TWAP where you trade 10% of your order every hour will become a huge burden if you have more than a handful of orders a day. This used to be a job for an overworked junior trader, but as this is a post about algorithmic trading, you can probably guess how this is handled today.</p><p>The other issue with this approach is that there’s a whole host of very, very smart people looking for you doing so. One of my favourite (work related) YouTube videos is <a href="https://www.youtube.com/watch?v=ENWVRcMGDoU">Kevin Slavin doing a TedEd</a> talk about exactly this.</p><h4>Dark Pools</h4><p>While less prevalent in Crypto markets, Dark Pools were designed as a way to allow investors to interact with each other while remaining hidden from other participants. In a Dark Pool, there’s no public market data (caveat — watch Kevin’s video), so it’s much harder to spot your big trade. However, there’s also less liquidity, so it may take you longer to complete your order.</p><p>Think about a Dark Pool as just another venue in your list — one which doesn’t trade as often, but has far less impact when you do. The downside is that you have yet another manually intensive task to worry about — rebalancing your orders across even more places. How much should you send? To where? What price limits and parameters should you use? How often should you change all these things? Sounds like a job for a machine.</p><h4>Go to a Broker / OTC Desk</h4><p>One other option is to hand off the responsibility of trading entirely — to a broker or OTC desk. There are a couple of ways they could help:</p><ul><li><strong>Find a natural buyer(s). <br></strong>A broker’s main job is to help organise trades between counterparties. They may already be working on a buy order for someone who would be very happy to trade with you, or they may have done so recently for a client who might want to buy some more. They can call around their recent buyers or put the word out to other clients to make that match. The downside to this is that even by <em>suggesting</em> that there’s a big seller in the market, it’ll start to move prices.</li><li><strong>Give you a risk price. <br></strong>Many brokers act like pseudo Market Makers — they’ll offer you a price for your block in the hope that they can trade out of the position for a better price than they offered you. You’re happy because you have a guaranteed price, and they’re happy because they can use their trading skills to outperform what you would have been able to achieve (they’re also happy that you’re happy as you might pay them back later). One potential issue with this is that the trade will still need to be executed. That’s fine if you’ve finished your trade, but potentially problematic if you have more to do because the broker will impact the market just as you would have done.</li></ul><h3>The Impact of Costs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wWdhTU3hWuyLGGIeSev5lQ.png" /><figcaption>Eye-watering</figcaption></figure><p>The whole point in trading is to try and end up with more money than you started with, so any time you have to give some of that money away, your overall performance will be worse. These costs can be broken down into two different categories:</p><ul><li><strong><em>Explicit </em></strong>costs, which you know everything about. Trading fees that exchanges might charge you, or clearing and settlement costs from your Prime Broker or Custodian.</li><li><strong><em>Implicit</em></strong> costs, which are the opposite. In our examples above, any time you end up paying more than you should have to execute your trade, you’ve been hit by an implicit cost.</li></ul><p>Here’s a couple of simple examples of each:</p><h4>Explicit Costs: Fees</h4><p>Most crypto venues will charge some percentage of the total value of your trade, typically in “Basis Points” (ie. 100th of a percent, or 1/10,000), say 5 basis points (bps) per trade. Buying $10,000 worth of Bitcoin will cost you $5 ($10,000 / 10,000 * 5).</p><h4>Implicit Costs: Spreads</h4><p>Simply put, a <em>spread</em> is the difference between the price you can sell at and the price you can buy at. If you turn up at an airport in need of some cash, you’ll quickly realise why this type of cost can be so impactful — you can buy a pound sterling for 1.34 USD, then turn around and sell the exact same pound for only 1.28 USD. But… No fees!</p><h4>Maker Rebates</h4><p>To complicate matters, some venues offer rebates to traders who <strong><em>provide liquidity</em></strong>, which is just a fancy way of saying that they post orders at $60,000, using the example above. Because liquidity is really important to venues, many of them will pay Liquidity Providers for doing, in the form of a rebate or profit share on any trades done against them.</p><p>If the rebate is 1.5bps, by crossing the spread, you’ll not only be paying 0.16bps in implicit costs, but also 6.5bps in explicit costs (you pay the 5bps AND you lose the 1.5bps). Now the decision to cross isn’t so obvious.</p><h4>The Impact of Costs</h4><p>To highlight the importance of understanding and managing your costs, imagine you have a Magic Maths Wand™ that could predict with 100% accuracy a list of crypto coins that would go up by 10 bps in the next few minutes. You’ve backtested it and decided you’re the next <a href="https://en.wikipedia.org/wiki/Jim_Simons">Jim Simons</a>. You start your own hedge fund, fire up the AWS infrastructure and hit the go button. Congratulations, you’ve created a money losing machine.</p><p>Every time you trade, it costs you 5bps to enter the trade and another 5bps to close your position. You’ve also had to pay the spread, clear and settle your trade and pay Amazon an eye-watering amount of money for your compute power and that’s before you add on employees, data, cost of capital and so on.</p><h3>Algorithmic Trading</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UdZ9Y3e1r88sSWQ5vRW6Dw.png" /><figcaption>Try solving a 4x3 Rubik’s cube…</figcaption></figure><p>It should now be obvious as to why using a machine to help you trade is a good idea. A computer can handle multiple orders in parallel; it won’t get bored or forget when slicing things into smaller pieces, and it can manage orders across many venues, brokers and Dark Pools at the same time without getting overwhelmed.</p><p>Imagine the trade above, but where you’ve delegated the order placement logic to a machine that’s been tuned to trade passively across multiple venues — collecting rebates and saving the spread. You’ve gone from loser to legend.</p><p>As things start to scale up, that same logic can help you hide your intentions — splitting your orders up over time and randomising things, or it won’t take long for the market to work out what you’re doing and start to compete.</p><h3>Conclusion</h3><p>In combination with a decent Order Management System and SOR/SAR combo, traders with access to an algorithmic trading stack can achieve a far better outcome than they would have been able to by trading manually.</p><p>In the next post, we’ll go into more detail about some of the more popular execution algos, what they’re for, when to use them and what to take into account when choosing a provider.</p><p>If you’re looking to integrate algorithmic trading into your workflow or want to learn how you can improve your trading infrastructure overall, <a href="http://virtex.co/contact">get in touch with us</a> to discuss.</p><p>As always, if you have feedback or comments on this, or any of our other posts, give us a shout.</p><h4>*Market Makers</h4><p>Some market participants have a specific role called “Market Making”. When trading in size, it’s unlikely that someone is looking to buy what you’re selling at the exact same moment, so Market Makers use their own capital to ‘provide liquidity’ and buy it off you. They’ll hold on to that inventory and hope to sell later while making a profit. On some exchanges, being a Market Maker has some benefits (lower fees, protections, exceptions to certain rules, access to restricted information, etc), but often comes with specific obligations set out by the exchange operator or regulator. Suffice to say, if there’s no one buying or selling what you are, you go to a Market Maker and trade with them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f615e3054d84" width="1" height="1" alt=""><hr><p><a href="https://blog.virtex.co/algo-trading-part-1-f615e3054d84">Algo Trading — Part 1</a> was originally published in <a href="https://blog.virtex.co/">Virtex Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart Order Routing — Part II]]></title>
            <link>https://blog.virtex.co/smart-order-routing-part-ii-2fef92456fdc?source=rss-14ca0468e1a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fef92456fdc</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[trading-technology]]></category>
            <category><![CDATA[smart-order-routing]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[Ben Radclyffe]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 14:53:44 GMT</pubDate>
            <atom:updated>2024-09-24T14:53:44.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>Multi-Venue Order Routing — Part II</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUwosbxCKLUCFv75GeT_ww.png" /></figure><h3>Tldr;</h3><p>A Smart Account Router (SAR) works in tandem with a Smart Order Router to dramatically improve trading outcomes by deciding which venues to trade on, when, and why, while optimising margin, capital, and counterparty risk.</p><p>Together, these tools can reduce the implicit and explicit costs of trading and keep you compliant at the same time.</p><h3>The Smart Account Router</h3><p>As promised — here’s the second post in our series on automated trading. In “<a href="https://blog.virtex.co/an-introduction-to-multi-venue-order-routing-0e65792ea68a">An Introduction to Order Routing</a>”, we looked at the complexities of multi-market trading and why you’d want to trade on more than one venue in the first place, as well as some of the tools that professional traders use to make things a little easier.</p><p>This time around, we’re looking at the concept of Smart <strong><em>Account</em></strong> Routing, which can help decide not only which venues to trade on, when and why, but how to optimise margin, capital and counterparty risk as well.</p><p>In combination with a decent Smart Order Router (SOR*), it’s possible to vastly improve trading performance and reduce operational complexity.</p><h3>Venue Choice</h3><p>As we discussed in the last post, most of the crypto industry still operates on pre-trade funding (ie. you need to have your capital deployed at the venue before they’ll accept your order), and that means we need to keep a close track of which assets we have and where they are.</p><p>If our SOR decides the best place to buy some Bitcoin is on Bullish, but we don’t have enough USDC to place our order, we’ll get rejected.</p><p>There’s a few things we can do in this scenario, including:</p><ol><li>Keep re-sending the order until we’re banned, run out of API capacity, or at least receive a passive aggressive Telegram message asking us to stop.</li><li>Top up our account with more USDC.</li><li>Cancel some open orders.</li><li>Choose a different account.</li><li>Choose a different venue.</li><li>Choose a different trading pair.</li><li>Place a multi-leg trade.</li></ol><p>I’d suggest not doing number one, but the others are good options. Here’s a quick summary of each of them:</p><h4>1. Keep Sending</h4><p>“Sending things to exchanges knowing that you’ll be rejected” is a topic in itself, but for the context of this post, we’ll assume you don’t know you’re doing it. Essentially, your trading system thinks it should be able to trade, so it sends an order. The exchange runs some risk checks on the order (available balance/margin, price checks, lot and tick sizes, etc.) and if any of them fail, you’ll get a nice reject message with an easy to understand reason (sometimes).</p><p>At this point, the trading system may just process the rejection and try again. While there are some circumstances where sending again would be perfectly legitimate (again, a topic for another post), not having funds in your account isn’t one of those.</p><p>If you keep sending and rejecting, you’ll start hitting message throttle issues and could eventually be banned.</p><p>While it’s important to make sure your system doesn’t try sending orders when it should know they’ll be rejected, making sure your system “understands” the reason behind a specific reject message is just as important, as it often needs to make smart decisions about what to do next.</p><h4>2. Cancel some open orders</h4><p>When trading, most counterparties will take a pessimistic approach to capital and risk calculations. Let’s say you have 1 Bitcoin in an account and you place an order to sell it at $100,000,000. Sadly, that’s unlikely to actually trade (until 2025…), but the exchange will still lock that 1 Bitcoin up so you can’t sell it twice. Sending a second order to sell at $50k will cause a reject as you now have zero BTC available. Most counterparties have the concept of <strong><em>free, locked</em></strong> and <strong><em>total</em></strong> balances which reflect the various states that your assets can be in.</p><p>In this scenario, if you really wanted to sell at $50k, you could simply cancel your sell order at $100m and try again. The only issue with this is that you now don’t have your original sell order and you have to have a plan for that.</p><p>Having said that, placing passive orders is one of the best ways to improve your overall trading performance, so you definitely need to be able to manage locked assets properly.</p><h4>3. Top up our account with more USDC</h4><p>If we’re trying to send an order to buy $5k’s worth of BTC and you only have $4k, you’ll be rejected. Probably the easiest thing to do is send an order for $4k, add $1k into your account, and send the rest. There’s two issues with this:</p><ol><li>You need to do some work.</li><li>It normally takes time to send assets to an account (there’s ways around this but, again, another post!). In the time it takes to send the assets, the trading opportunity may have disappeared, or at least gotten worse.</li></ol><p>You probably have that extra $1k deployed to a different account somewhere already — read on…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YIokY7XOgoaXKM4r7hOQQ.png" /><figcaption>Automating movement of capital is *<em>hard*</em></figcaption></figure><h4>4. Choose a Different Account</h4><p>Easy one. If you have access to more than one account on a venue, you can just use another one. You’ll need to know <strong><em>which accounts can be used for what purposes</em></strong> and how to link your accounts to your trades for post-trade reconciliation, etc, but it’s our best option so far.</p><p>You’ll notice I put a bit in bold there — and I think it’s worth reiterating. When you have clients, not all the assets you have available to you can be used for whatever you want. Systematically enforcing this is highly recommended.</p><h4>5. Choose a Different Venue</h4><p>If none of these are viable options, then you’ll need to go somewhere else for your trade. There’s a bunch of different approaches to this, but a simple one might just be to go to the next venue down in your SOR list until you reach a venue you’ve got appropriate balances on.</p><p>It may not surprise the regular reader to know this can also get complicated — you could split your orders up so the ‘best’ exchange gets an order that’s small enough to be accepted, then split the remaining balance down the SOR list until it’s filled, e.g. 0.1 BTC to Bullish, 0.1 to Binance, 0.1 to Coinbase, 0.1 to an OTC broker, and so on.</p><p>When you combine this with an algo engine, you could just do this on each child order, rather than splitting the child orders themselves.</p><h4>6. Choose a different trading pair</h4><p>In the original example, we were buying $10k worth of BTC using USDC, and the SOR decided that trading BTC/USDC on Bullish was the best place to do it. If we find that we don’t have enough USDC left in our account, what if we changed our order instruction a little and traded BTC vs actual <strong><em>dollars</em></strong>. There’s a BTC/USD pair on Bullish and we may have enough to fulfil our order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MzPKKuWe0xLaAu_kRBcbig.png" /></figure><h4>7. Place a multi-leg trade</h4><p>This one is pretty cool. Imagine the scenario above, but where the BTC/USD price is rubbish vs BTC/USDC. What we <em>could</em><strong><em> </em></strong>do is have our system buy USDC using USD, then buy BTC using the USDC we just bought. Again, a few issues with this that we’ll gloss over, but the main ones being USD/USDC spreads and any associated fees for doing that trade.</p><p>This one can also get pretty complicated; what about ETH-&gt;USDC-&gt;BTC? Are we allowed to use our ETH for this trade? Maybe. How about ETH→USD on one exchange and USD-&gt;USDC-&gt;BTC on the other? If we used a central clearing system or prime broker, we might be able to do this quickly enough and with low enough fees to make it worthwhile. How about doing the whole thing atomically on-chain? Guess what? That’s another post for another day…</p><p>We could even chain some of these options together. Imagine wanting to sell some BTC for a client, but it’s in cold storage and we’ve not received it yet. We could start selling a Perpetual Contract using USD as margin, so we don’t miss out on potentially favourable prices. We then transfer some BTC to a few of the more liquid venues, using our SOR and SAR to keep them balanced while we sell across all three, remembering to unwind our Perp as we do so.</p><h3>Margin Trading</h3><p>So far, we’ve mainly looked at spot trading, but the same idea can be applied to derivatives with an extra layer of complexity. Because derivatives aren’t normally fungible (ie. you can’t move them between venues), you need to make sure you’re closing positions before opening new ones up.</p><p>Take the scenario where you go long $10k of BTC Perps with 1x leverage. If you now want to go short $10k BTC Perps, you should probably do it in the same account, because if you didn’t you’d have a long position AND a short position across two accounts (a ‘boxed’ position). Not only does this use up valuable capital for margin, but you’ll be paying funding rates across them (sometimes those will even out, but if you’re on different venues, they may not).</p><p>The other complexity is that the funds in your account are likely being used as margin. If you place another order that uses the same margin, you could end up liquidating yourself without realising.</p><p>In this case, our SAR also needs to keep track of positions and margin requirements. For brokers trading for clients, this is likely the difference between a viable business and the alternative.</p><h3>Smart Account Routing to the rescue</h3><p>Managing all these choices and complexities is the job of the SAR. It has a view of all the accounts and assets in each, while also understanding which accounts can be used for which purposes and how to track what those assets are being used for. It needs to tie in closely with the pre- and post-trade systems to ensure accounts remain balanced and capital is available where it needs to be at all times.</p><h3>Using a Third Party</h3><p>Most of the discussion above has focussed on trading your <strong><em>own</em> </strong>assets, but there’s another option available; trading someone else’s and offloading the problem to them. There’s a few names for these service providers and, while I tend to call them <strong><em>Brokers,</em></strong> the industry seems to have settled on <strong><em>OTC Desks.</em></strong></p><p>The idea is that you can just pass your order to someone else and either get a price up front that you both agree on (the broker then takes any downside risk and any upside profit), or get a price that’s linked to the one they actually traded at (Riskless Principal or Agency Trading, depending on who your counterparty ends up being).</p><p>The problem hasn’t really gone away because the broker now needs to solve it with their own SOR/SAR combo, or possibly taking the whole thing on their books and not trading it at all.</p><h3>Best Execution</h3><p>The important thing here is that you have some sort of measurement in place that tells you if your brokers are doing a good job, or not. In a lot of cases, the people making trading and investment decisions are doing so with someone else’s money. It’s therefore important to be able to demonstrate that the decisions being made (ie. sending orders to different venues or brokers) are being done so based on data, rather than on who had the biggest bar tab or the best F1 party.</p><p>What’s actually important is that you have a Best Execution Policy and that it says something that everyone agrees is sensible. If you have one, you should a) show that you’re following it and, b) collect some data to show it’s working as intended.</p><p>The last job of the SOR/SAR combo is to generate useful information to back up the decisions being made, i.e. what prices were available on what venues at the time of a routing decision? What traded and where? What happens on those venues after you’ve traded there?</p><p>While this seems like it could be a huge pain, it can definitely become a competitive advantage, especially if the data is used to improve the trading decisions the platform is making.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KNV0TSbfeid3U98v08uB8w.png" /></figure><h3>Conclusion</h3><p>Smart Account Routing is not just about making better trading decisions — it’s about optimising every aspect of your trading strategy, from venue selection to margin management.</p><p>By integrating an SAR with an SOR, traders and their service providers can reduce their implicit costs (getting good prices and doing so without moving the market) and explicit costs (fees, charges, etc.), optimise their capital, and take advantage of many more trading opportunities than if they were trying to solve the problem manually.</p><p>Finally, having a feedback loop in place to improve the trading stack is a competitive advantage as well as a likely future regulatory requirement.</p><p>As the trading environment continues to evolve, having a robust SAR/SOR in place can be the difference between staying ahead of the competition or lagging behind.</p><p>As always, comments are welcome on this article and, if you’d like to learn more about how we’ve integrated these tools in our platform, or even to join the team to help us build it out, please get in touch.</p><p>*SOR — A genius piece of marketing. Originally totally dumb, but a way better idea than calling something utterly benign a ‘<strong><em>Dark Pool’. </em></strong>A decision, which, while a cool tagline, sounded scary enough that it came back to bite an entire industry…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fef92456fdc" width="1" height="1" alt=""><hr><p><a href="https://blog.virtex.co/smart-order-routing-part-ii-2fef92456fdc">Smart Order Routing — Part II</a> was originally published in <a href="https://blog.virtex.co/">Virtex Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Multi-Venue Order Routing]]></title>
            <link>https://blog.virtex.co/an-introduction-to-multi-venue-order-routing-0e65792ea68a?source=rss-14ca0468e1a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e65792ea68a</guid>
            <category><![CDATA[smart-order-routing]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[trading-technology]]></category>
            <dc:creator><![CDATA[Ben Radclyffe]]></dc:creator>
            <pubDate>Thu, 11 Jul 2024 17:22:22 GMT</pubDate>
            <atom:updated>2024-07-11T17:22:22.052Z</atom:updated>
            <content:encoded><![CDATA[<h3>An Introduction to Order Routing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EeEzMJcdRs7rAzLT3zzhdA.png" /></figure><h3>TL;DR</h3><p>Trading is complicated. With crypto prices fluctuating across numerous venues, one of the critical questions traders face is: <strong><em>‘Where is the best place to trade right now?’</em></strong> and answering this manually is nearly impossible. Enter the <strong><em>Smart Order Router</em></strong> (SOR) and the <strong><em>Smart Account Router</em></strong> (SAR) — tools designed to help reduce slippage and risk while keeping trading strategies compliant. In this series, we’ll explore these essential tools, starting with the SOR.</p><h3>Wait — A Smart Account Router??</h3><p>The Smart Account Router (SAR) is not just a catchy name (thanks to EK for coining that one!). In the fragmented world of crypto trading, keeping track of your assets and understanding what you’re allowed to do with them is a significant challenge, especially when you’re trading for other people. It’s also important to be as efficient as possible with your capital — spreading it thinly across multiple venues is costly, especially when using it as margin.</p><p>A Smart Account Router addresses this by providing real-time insights into asset locations and trade capabilities, ensuring compliance and operational efficiency. Before diving into what a Smart Account Router has to do, I wanted to use this first blog post to lay down a bit of a foundation and talk about order routing in general, why it’s important and why you might have your assets at a bunch of different venues in the first place.</p><h3>An Intro to Smart Order Routing</h3><p>Most people in trading are familiar with the idea of the <strong><em>Smart Order Router</em></strong> — a pricing engine that knows where the best prices are at any one time and can help add to the performance of your trading strategies. For those who aren’t — consider this exmple:</p><p>You’re keen to buy a Bitcoin with your hard-earned USDT. You hold accounts on two major exchanges — Binance and OKX. With both trading apps open on your (presumably large) monitor, you watch the prices fluctuate — sometimes cheaper on Binance, sometimes on OKX. Spotting what appears to be a better deal on Binance, you hit the buy button. Your Bitcoin balance goes up by one and your USDT balance drops by [some number between 1 and 1 million, depending on when you’re reading this…].</p><p>You log off, happy you’ve done a good job creating generational wealth for your future Grandchildren. Down the pub, a few thoughts hit you:</p><ul><li>Was that <strong><em>really</em></strong> the best price at the time you pressed the button?</li><li>How would you know, even if it wasn’t?</li><li>If it wasn’t, does it matter?</li><li>I bet those High Frequency Trading guys just robbed me blind**</li></ul><p>The good news is that the difference between the best offer on Binance and the best offer on OKX for BCT/USDT spot is often a bit of a coin flip. If you closed your eyes and chose a venue randomly, you might well have gotten the better price. If you got it wrong, you might be $20 worse off — not the end of the world. Here’s an extract of the best offer on both exchanges over a few minutes while I was writing this blog:</p><figure><img alt="Best Offer on a couple of venues while I was writing this post" src="https://cdn-images-1.medium.com/max/569/0*7HpyxfSaYlnPElUm" /><figcaption>Best offer on a couple of venues while I was writing this post</figcaption></figure><h3>Things Get Complicated</h3><p>So far, so good. Now consider performing that same trade a hundred times. Over-paying $20 on a single trade might seem negligible, but cumulatively, it becomes significant, especially if you’re trading for a fund measured against its peers, or on behalf of clients who have a choice of trading partners.</p><p>Let’s make the scenario more complex and introduce a few more exchanges. The difference between the best and worst is going to be far larger than a few basis points. It’s also extremely difficult to watch multiple venues at the same time using just your eyes. What if the best price is actually a combination of several of those venues? Try doing that manually…</p><p>Now add in fees. The slippage between two of the most popular and liquid venues might be small, but the fee differences across multiple venues can be huge (and quite hard to track). When trading, you need to make sure you’re considering the implicit costs (prices, spreads, etc) as well as the explicit ones (fees, rebates, etc). If you save yourself a basis point (1/100th of a percent) by getting a better price, but you did it by trading on an exchange that charges you 10bps more in fees, you’re actually worse off.</p><p>What about latency? This gets tricky, but let’s say you can see a price on your screen of $55,000. The exchange is in Tokyo and you’re in London, so that means you’re seeing data from a few hundred milliseconds ago, rather than live — lag that is bad enough when you’re playing Fortnite, but can lead to real problems with financial transactions. Even the time it takes for your computer to process the information and display it on the screen is enough time for a price to move. Your eyes are pretty slow and so is your brain. Your fingers are even worse, and the mouse click takes longer to process than some trading firms take to react. Once that signal is processed and sent all the way back to Tokyo to trade, that price you saw is likely long gone. Which direction did the market move? Who knows.</p><h3>Technology to the Rescue</h3><p>So, how can we manage these complexities and create tools to mitigate or exploit them? As with many things in crypto, the traditional finance (TradFi) industry has faced a similar challenge. In 2005, the introduction of RegNMS fragmented the US equities markets, introducing multiple venues where you could buy and sell the same thing**, similar to today’s crypto markets. The solution? The <strong><em>Smart Order Router</em></strong>, a tool that revolutionised real-time price discovery.</p><p>A Smart Order Router (an SOR) is a piece of kit that watches price feeds from all the venues it’s connected to and uses that information to constantly calculate where the <strong><em>best price</em></strong> for a particular asset is at any one time. The benefit of building a distinct module is that any systems making trading decisions upstream of the SOR can delegate the decision of <strong><em>where</em></strong> to trade and concentrate on the when, how much and why parts. Adding in new venues or rules is transparent to everything else in the system.</p><h3>Sounds Simple!</h3><p>Sure does! While the concepts are pretty simple, as with many things, <strong><em>it’s more complicated than that**</em></strong>. For example, one of the bigger technical challenges in crypto is the sheer number of tokens and venues you could decide to track. A quick Google search shows that there are about 8,000 US Equities and 13 exchanges**. There are at least 23,000 tradeable crypto tokens across a staggering <strong><em>1,500</em></strong> venues. Unlike our US Equities example where everything trades vs USD, each of our crypto tokens trades vs multiple other tokens (USD, USDT, USDC, BTC, etc) — that’s a whole lot of trading pairs to keep an eye on.</p><p>Even across the 70 or so venues we track at Virtex today, there’s over 20,000 trading pairs. You likely don’t want or need to connect to even a small percentage of those, but that’s a decision for another post.</p><h3>Liquidity</h3><p>We touched on it briefly above, but a lot of the time, the best available price at any one time is actually a <strong><em>combination</em></strong> of multiple venues. Imagine a scenario where 2 venues have the same price, but each of them only have 0.5 BTC available at that price. The way to achieve the ‘best’ price for our hypothetical “Buy 1 BTC” trade is actually to buy 0.5 from each venue at the same time and a sophisticated SOR should be able to do that for you**. I’ll do a future blog post on <strong><em>Market Makers and Fading Liquidity</em></strong>, but for now, it’s suffice to say that just because it <strong><em>looks like</em></strong> there’s 10 BTC available across 10 exchanges, it’s pretty hard to grab it all in one go…</p><p>Here’s a quick visualisation of the liquidity on the venue with the best current ask price vs what’s available across multiple venues within a few basis points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*06omD5mA_YoPlkYPDKUDFQ.png" /><figcaption>Single Venue Liquidity vs Aggregated Liquidity</figcaption></figure><h3>Composable Instruments</h3><p>One final cool feature of a really smart SOR is that you can chain trades together to get your desired result. Going back to our example of buying a Bitcoin by using USDT — suppose the best current BTC price is actually on a venue that doesn’t support USDT, but uses USDC instead. If we’re feeling adventurous, we could buy some USDC using USDT, then use that USDC to buy our BTC. As long as our SOR takes into account the different prices and all the fees, it can give us access to that better price and additional liquidity.</p><h3>Post Trade Analysis</h3><p>As with anything, it’s important to measure what matters. Did your SOR make the right decisions? If so, how much is it actually helping? Why did it choose the venues it chose? How can we use the data to show our clients and investors we’re doing a good job? How can we use the data to improve our future trading decisions? What information could we pass back on our fills to help others run their own analysis (spoiler alert — FIX tags help here). Post Trade analysis is an industry unto itself, but we’ll do a post covering the basics as part of this series.</p><h3>Smart Account Router</h3><p>By now, you should be an expert in what a Smart Order Router does in relation to pricing and why we might want to spread a trade across multiple venues in the first place. However, we’ve skipped over a fairly important detail. Because most of the crypto industry still operates on pre-trade funding, we need to keep a close track of which assets we have and where they are. If the best price for something is currently at a venue we’re not connected to, or where we have no available funds, we need to take that into account.</p><p>When trading for clients, we also need to know about their preferences (having a preferred exchange or blacklist for example) and we need to know whether we should be using client funds or our own.</p><p>When we start looking at derivatives rather than spot trades, we also need to take into account any margin we might need and how a specific exchange calculates various requirements and try to keep those as low as possible.</p><p>Choosing which account to trade in can get just as complicated as deciding how to get the right prices, so we’ve separated out that logic into a <strong><em>Smart Account Router</em></strong>, which we’ll go over in the next post.</p><h3>Conclusion</h3><p>As you navigate the complexities of crypto trading, remember that choosing the right trading venue is crucial. Leveraging tools like the Smart Order Router and Smart Account Router can significantly enhance your trading strategies.</p><p>Stay tuned for our next post, where we delve deeper into the Smart Account Router and explore its advanced features that complement the SOR, helping you achieve optimal trading efficiency.</p><p>As always — If you’re interested in getting involved — whether by simply giving feedback, helping design, build or test our SOR or integrating your own with the Virtex platform — please get in touch.</p><p><strong><em>** It’s more complicated than that</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e65792ea68a" width="1" height="1" alt=""><hr><p><a href="https://blog.virtex.co/an-introduction-to-multi-venue-order-routing-0e65792ea68a">An Introduction to Multi-Venue Order Routing</a> was originally published in <a href="https://blog.virtex.co/">Virtex Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Minimum Viable Product]]></title>
            <link>https://blog.virtex.co/minimum-viable-product-293f0d977375?source=rss-14ca0468e1a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/293f0d977375</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[mvp]]></category>
            <dc:creator><![CDATA[Ben Radclyffe]]></dc:creator>
            <pubDate>Mon, 03 Jun 2024 23:12:06 GMT</pubDate>
            <atom:updated>2024-06-04T08:33:06.182Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EATOa1thJHbiSXYc" /></figure><h3>TL;DR</h3><p>Over the next few months, we’ll be releasing the first iterations of our innovative Broker-in-a-Box platform, and gathering essential feedback from our early adopter clients. As with most start-ups in the FinTech sector, we’re taking an MVP approach — starting with a core set of features that customers will still benefit from, then iterating.</p><p>This post goes through some of those features, why we’ve chosen them, and the use cases they’ll help support. We believe they’re simple enough to be achievable, complex enough to add value to our clients, and built to showcase our novel App Store approach.</p><h3>The MVP</h3><p>The term “Minimum Viable Product” was coined in 2001 and has become a guiding principle for start-ups. It focuses on building only what’s necessary to get the product in front of clients, with the smallest feature set that people will actually pay for.</p><p>For straightforward projects — a better mousetrap, or the brilliant <a href="https://www.youtube.com/watch?v=vIci3C4JkL0">Hotdog/Not Hotdog </a>app — this can be fairly easy. But for more complex ones, like a crypto broker operating system, the task is much bigger. When deciding on the MVP for Virtex, we had to decide what the core product actually is. Are we just solving one piece of the puzzle, like sending orders to a market, or is the product the platform itself?</p><p>Our aim is to streamline disparate systems and manual tasks with a straightforward, end-to-end workflow tool that can grow and scale over time. We want our MVP to highlight our ‘App Store’ vision, our Lego-brick approach to building, and showcase a few features we’ve not yet seen deployed in the crypto broker world.</p><h3>The Sell-Side Workflow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RnS8e3LZB8XoryyU" /></figure><p>After plenty of market research and decades of being immersed in both TradFi and Digital Asset brokers, we’ve boiled down the core workflow for a sell-side firm to something like the following:</p><ul><li>Receive orders from clients</li><li>Execute them against a liquidity source</li><li>Record all trade details securely for later reference</li><li>Send and receive assets for settlement purposes</li><li>Communicate the details with everyone who needs to know</li><li>Provide risk and compliance oversight</li><li>Ideally, perform all these tasks with zero manual input to ensure scalability</li></ul><p>Sounds simple, right? But as always, the devil is in the details.</p><p>To receive orders from clients, you first need to know who your clients are. This involves handling sensitive data, onboarding processes, background and financial checks, understanding legal restrictions, and often complex account structures. Building effective risk controls to manage these aspects is crucial.</p><p>Executing against an external liquidity source means knowing which venues are available and funded, and finding the most competitive prices among them. This requires accurate reference data (a post unto itself), real-time price feeds, and robust reconciliation processes.</p><p>Even though we’re focusing on an MVP approach, having an awareness of this future complexity in advance — and planning for it — helps us make better design and architecture decisions from the outset.</p><h3>The Modular Build</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jnE1h6Hal-dSTwo2" /><figcaption>A very MVP-like image from DALL-E!</figcaption></figure><p>We’re building our platform like a Lego set — split into plug-and-play modules, so we can add complexity and functionality over time. At the core of our platform is an event management system that makes integrating new modules easy. Whether it’s connecting to a new exchange, adding a historical reporting suite, or integrating compliance and surveillance tools — it’s just another Lego brick.</p><p>Taking the Lego metaphor one step further, our MVP is the 8+ starter kit, including the following bricks:</p><ul><li>A low-latency, event-based architecture</li><li>Reference data for trading instruments and clients</li><li>Real-time market data feeds</li><li>APIs for system interaction</li><li>Order management with basic risk controls</li><li>Simple trading strategies (DMA, Smart-Order-Routing, TWAP, Iceberg)</li><li>Connectivity to a few CEX and RFQ venues</li><li>A “pro” GUI for visibility and control</li><li>A basic web interface for clients to view their trades and positions</li><li>A set of data extraction tools</li><li>Booking and settlement capabilities for asset transfers</li></ul><p>While many of these modules are custom-built for Virtex, some are integrations with mature third-party services — embracing the App Store approach.</p><p>Expect a platform that grows as we do, just like adding bricks to your favourite Lego set.</p><h3>Summary</h3><p>Scoping out an MVP for a complex platform is challenging, but we believe we’ve found the right balance between functionality and simplicity. Many of these modules are already operational, and we’ll be sharing more details in future posts, including example use cases that have been well received by our potential customers.</p><p>If you’re interested in getting involved — whether by giving feedback, taking ownership of one of the modules, or integrating your own products as founding “App Store” partners — please reach out.</p><p>Don’t forget to subscribe to follow our journey!</p><h4>*A Note on the Images Used in this Post</h4><p>While I was experimenting with AI-generated images for this post, it struck me that they perfectly encapsulate the MVP approach. They’re far from perfect — though definitely better than what I could create myself. They have a few rough edges (okay, ‘few’ is doing some heavy lifting here), but they serve their purpose and wouldn’t take much iteration to make them excellent. Just like an MVP.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=293f0d977375" width="1" height="1" alt=""><hr><p><a href="https://blog.virtex.co/minimum-viable-product-293f0d977375">Minimum Viable Product</a> was originally published in <a href="https://blog.virtex.co/">Virtex Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtex: The OS for Crypto Brokers]]></title>
            <link>https://blog.virtex.co/virtex-the-os-for-crypto-brokers-22b6ad4b3b70?source=rss-14ca0468e1a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/22b6ad4b3b70</guid>
            <category><![CDATA[fundraising]]></category>
            <category><![CDATA[digital-asset]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Ben Radclyffe]]></dc:creator>
            <pubDate>Thu, 02 May 2024 15:11:30 GMT</pubDate>
            <atom:updated>2024-05-13T08:05:33.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KQTgFn9cAr2nfiN_00e6fQ.png" /></figure><h3>tldr;</h3><p>Digital Asset brokers are spending millions of dollars building in-house, generic software to support their businesses instead of spending those resources on their core businesses. The industry is in dire need of decent off-the-shelf tools and services that can help reduce cost and complexity. There are few, if any, commercial products available in the market specifically built for brokers, especially a full platform, Broker-in-a-Box, so we’re building it.</p><p>Interested to hear more or get involved? Get in touch — <a href="http://virtex.co/">virtex.co</a></p><h3>A Quick Primer…</h3><p>Since the<a href="https://bitcoin.org/bitcoin.pdf"> Bitcoin Whitepaper</a> was released in 2009, the Digital Asset industry has changed immensely, as have the services that have sprung up to support the ever changing needs of its customers.</p><p>Even 10 years ago, “Crypto” just meant buying and selling Bitcoins on a website; something for enthusiasts and those lucky enough to stumble across the space.</p><p>What we have now is almost unrecognisable — a proliferation of tokens, liquidity pools (centralised exchanges, DEXs, OTC counterparties and so on), financial products, including the now ubiquitous Perpetual Swap, traditional futures, traditional exchange products, options, etc., and an ever-rising bar of customer expectations and regulatory requirements.</p><p>This new complexity is not only difficult to navigate, but expensive and often comes with its own variety of risks. Many of the firms operating in this space were built for simpler times and now find themselves in a technology battle just to keep up with minimum requirements, let alone innovation. Many of them are busy building exactly the same thing as the firm next door.</p><p>We’re building the Operating System for Crypto Brokers, providing our clients with a “Broker-in-a-Box” set of industry standard products and services, allowing them to stop building and start growing their businesses.</p><h4>Why Now?</h4><blockquote>Sell-Side firms are spending hundreds of millions of dollars building generic technology with no unique edge over their competitors.</blockquote><p>The barriers to entry for operating a firm that trades digital assets on behalf of its clients are rapidly rising. The introduction of new legislation globally means that regulators are starting to outline rule frameworks that firms will be forced to follow, regardless of their own jurisdictions — robust KYC and AML policies, immutable audit trails, surveillance and reporting standards, and so on — rules that will continue to get more complex and onerous if the TradFi world is any guide.</p><p>The expectations of the customer base are increasing. The days of casually accepting order instructions on a Telegram chat, typing them into a Google Sheet and trading manually via a Binance front end have gone.</p><p>Advanced Algorithmic Trading and Smart Order Routing tools allow the more advanced firms to access far more liquidity and achieve better prices than those relying on humans alone. Trading desks with enough flow can automatically internalise their customer orders, reducing costs and the risk of information leakage — backed up by post-trade analytics reporting.</p><p>Specialist trading desks with the right tools can still offer value by inserting themselves in the execution process. Smooth, robust onboarding experiences can help firms get live with a client before their competitors.</p><p>If firms try to solve all these problems themselves, they risk taking their eye off their own unique value propositions, especially for the pieces of the puzzle outside their core competencies. We need a set of industry standard tools that firms can rely on to run the core of their businesses.</p><h4>The Operating System for Crypto Brokers</h4><p>At its core, what we’re building is a platform. Underpinning our products and services, corporate structure and business model, is the belief that the Digital Asset industry will continue to thrive and innovate until it consumes (or at least merges with) the old world of traditional finance. The solutions we see today are unlikely to be the ones that dominate in the future and, as such, we need to ensure that what we’re building is flexible and modular right from its foundations.</p><p>Robust client onboarding workflows; a feature-rich, low-latency trading platform and automated trading engine; fund level and regulatory reporting; AI powered chat-bots offering trade ideas. All of these could be seen as individual products, if not entire companies in themselves. The value of our platform is the ability to stitch these solutions together and allowing our users to choose those that fit their current workflows and client demands.</p><p>Our roadmap is ambitious, the pace is rapid and the product is the one we all wish we’d had in our previous roles. The company culture is one of innovation, fun and customer focus, and we want to partner with firms who share those same values.</p><h4>Why Us?</h4><p>As a startup with years of financial services domain knowledge from some of the world’s top brokers, exchanges and technology driven trading firms across both TradFi and Crypto — Tower Research, UBS, Deutsche Bank, Amber Group &amp; BitMex to name a few — we can help others navigate the coming complexities by offering some of these same market leading services and solutions we have helped build elsewhere.</p><p>With all that experience, comes the simple benefit of “having seen the answer”, which allows us to build products we’re confident will fit the needs of the industry for years to come.</p><p>There are a lot of incredible people in this industry. They’re innovative, driven and technically brilliant. Some of them have built businesses that dwarf all but the most successful TradFi firms. As “Crypto” continues its slow march towards “Digital Assets” and the boundaries between this new asset class and the old start to blur, history will start to repeat itself. Wouldn’t it be great if you could access some of that brilliance all in one place, to get ready for the new age?</p><p>Not only can we provide all the technology and infrastructure that comes with our own experience, we’re also building the industry platform where our clients and creators can leverage each other’s innovation, sharing ideas and covering each other’s blind spots. And our modular approach to providing all of this infrastructure for trading firms means you get to pick and choose what you need, thus keeping your edge over the competition.</p><h3>Get involved</h3><h4>Users &amp; Advisors</h4><p>If what you’ve read here sounds like it’s describing the problems you’re facing as a firm, we’d love to hear from you. As a young startup, we know the most valuable asset we have is the direct feedback we get from our initial customers.</p><p>If you’d like to help shape what we’re building, right from the start, please get in touch to get involved at ground level.</p><h4>Investment</h4><p>As with most startups in our space, we’re in a race against others to get our product off the ground, and in a competition to attract the best talent to make that happen. We’re raising capital to expedite our product build and to ensure we attract the best engineers, domain specialists, operators and business people we can.</p><p>If you’re interested in discussing investment opportunities, please reach out.</p><h4>Join the Team</h4><p>I’m a big believer in Conway’s Law: the solutions that firms come up with directly reflect the organisational structure that created them. The modular approach we’re taking isn’t just for the technology, it’s for the organisation as a whole. We aim to stay lean and give autonomy and product ownership to the small group of experts who join us. We’re assembling world class domain experts and giving them the freedom and backing to build products and services that reflect their expertise.</p><p>If that resonates and you think you could take ownership of one of our products, please give me a shout and tell me how you think you could fit in.</p><h4>Integrate</h4><p>This only works if we build a network of providers into the platform. Exchanges, Market Makers, Wallets, Clearing Brokers, Data Providers, KYC Vendors — everyone. If you’d like to work with us on integration and get access to our user-base in return, then let us know — we’d love to have you.</p><h3>Wrapping Up</h3><p>The industry is in dire need of decent off-the-shelf tools and services that can help reduce cost and complexity. There are few, if any, commercial products available in the market specifically built for brokers, especially a full platform, Broker-in-a-Box, so we’re building it.</p><p>Wish us luck!</p><p><em>Follow us for a weekly update on how we’re going — product roadmaps, hiring and raising as well as all the stumbling blocks along the way</em></p><p><a href="http://virtex.co/">virtex.co</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1MveOx6O8NMbzJqM" /><figcaption>Photo by <a href="https://unsplash.com/@medbadrc?utm_source=medium&amp;utm_medium=referral">Med Badr Chemmaoui</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22b6ad4b3b70" width="1" height="1" alt=""><hr><p><a href="https://blog.virtex.co/virtex-the-os-for-crypto-brokers-22b6ad4b3b70">Virtex: The OS for Crypto Brokers</a> was originally published in <a href="https://blog.virtex.co/">Virtex Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>