The leading knowledge platform for the financial technology industry
The leading knowledge platform for the financial technology industry

A-Team Insight Blogs

Creating an Algo Gym

By Justin Lyon, Founder and CEO of Simudyne.

Sell-side firms are finding themselves extremely challenged in algo pre-production. According to our recent survey of 15 sell-side executives involved in algo trading, modeling is the most common, significant and recurring issue in algo pre-production – with many concerned that this is holding them back competitively.

The methodologies that firms use to model market conditions to test the behaviours of their algos are fairly standard, most use a combination of historical data and simulated data to put their algos through their paces. “We built a market simulator in pre-production to test all of our changes in UAT,” says one trading executive. “We use it extensively for regression testing as well as for testing new features, to make sure they are delivering the expected behaviours and results.”

“We have our own development environment where we are able to run historic simulations so that we can put extreme situations into that modeling environment,” said another trading executive. “You cannot model for every single market scenario, so it still requires some kind of controlled release process. There is no perfect modeling environment.”

Indeed, executives recognize the limitations inherent in these modeling approaches. Said one executive: “You don’t know what you don’t know. No matter how comprehensive our testing is, there will always be scenarios that we didn’t think of, or events in the real world that are not covered by the tests.” Said another: “This is more of an art, I’d say.”

Adjusting parameters on the fly

All the executives interviewed were only able to adjust a limited number of parameters on the fly – parameters that had been ‘pre-set’ in advance. For some firms, the number that they could adjust was very limited. Firms on average rated themselves as only middling in their ability to do this – scoring three on a scale of one to five.

“There are parameters that you never want to adjust on the fly. But there are other kinds of parameters that you need to adjust on the fly – for example, the passiveness or aggressiveness of the algo, to suit the client’s wishes,” said one executive. “Other changes and adjustments you need to test after you make them, to be sure they are working OK. You don’t want to adjust them on the fly. So, you wait until after trading hours and then test them and roll them out.”

In the survey, sell-side executives agreed that being able to adjust more parameters of their algos – having the confidence to be able to do that – on the fly would give them a significant advantage when it comes to improving execution quality. “This would allow us to test more quickly and ensure that our algos are performing without having to do as much running by,” said one executive. “It would allow us to make changes more efficiently, more safely across our algo base.”

Although it was difficult for respondents to estimate a financial benefit, a few were able to draw on their professional experience to do this. These respondents estimated that the financial benefit of such an approach could translate into substantial financial advantages – 0.05% to 1% improvement in the bottom line for a 1% improvement in fill rates.

Taking a new approach to algo testing

There is another way: agent-based simulation. Like an ‘algo gym’, agent-based simulations can help ensure execution algorithms are ready to be deployed in as wide a range of potential futures as possible. Rather than training algos by looking purely at the ‘surface’ data – the ‘real’ historical data produced by exchanges and other trading venues – agent-based simulations can recreate the data-generating process, producing synthetic market data that is indistinguishable from a given real-world time series.

By running thousands of simulations for every positive regime in this ‘algo gym’, the optimal decision path can be chosen by the algorithm every time. This can be run on the fly during the trading day, ensuring algos are optimized for all trading situations.

Justin Lyon
Ever since his studies at MIT in System Dynamics, Justin has been fascinated by applications of AI and machine learning to inform decision making. After working with the likes of Apple, the US Department of Defence, and the Bank of England, he founded Simudyne – a high growth simulation technology company that gives organizations a new way to test drive their decisions.

Related content

WEBINAR

Upcoming Webinar: Integrating Intelligent Machine Readable News

Date: 30 November 2021 Time: 10:00am ET / 3:00pm London / 4:00pm CET Duration: 50 minutes Intelligent machine readable news is a powerful tool in the arsenals of trading and investment firms seeking competitive advantage. It turns unstructured data into actionable insight and can be used, for example, to uncover market trends, identify correlations and...

BLOG

TradingTech Insight Q&A: Driving Technology Innovation in Fixed Income

With Edoardo Pacenti, Head of Trading Tools for Fixed Income at ION Markets. In the last decade, the global fixed income markets have been going through a steady process of transformation, with technology playing an ever more important role. Trading is slowly becoming more automated, new venues are proliferating, and both market participants and vendors...

EVENT

TradingTech Summit London

TradingTech Summit London will explore how trading firms are innovating in today’s cloud and digital based environment to create flexible, scalable trading platforms to support speed to market and business agility. Leveraging the cloud, AI and ML technologies to get an edge, automate processes and simplify operations in a cost effective way is the name of the game and will share practical insight from practitioners and technology leaders who are innovating and driving forward change in trading operations.

GUIDE

Fatca – Getting to Grips with the Challenge Ahead

The industry breathed a sigh of relief when the deadline for reporting under the US Foreign Account Tax Compliance Act (Fatca) was pushed back to July 1, 2014. But what’s starting to look like perhaps the most significant regulation of the next 12 months may start to impact our marketplace sooner than we think, especially...