The Blog

Off-the-shelf Machine Learning is Surprisingly Good at Combining Trading Alphas

You have likely read about how the field of machine learning (ML) is making serious inroads into how Wall Street is operating, with firms like BlackRock, Bridgewater, D. E Shaw & Co. among many others all actively using ML and hiring experts in that field.

The team at Deep Value has been using ML for the past few years and has prepared some research aimed at desks new to field — in this installment, on using machine learning to combine trading alphas.

  • Off-the-shelf machine learning, and especially support vector machines, are a defensible starting point for automatedly combining alphas, over purely linear and simple regression-based approaches.
  • Other (clustering and boosting) approaches also show promise, while needing work and calibration to deal with respectively high dimensionality, and high noise.
  • ML-based approaches come with opacity, and the ability of ML models to evolve with the markets can hamper an understanding of what they are doing.

The link to the research is here.

Disclaimers apply.

July 25 2017 · Filed in: research

The Deep Value FAST Parity Service

What is Parity at the NYSE and Why Should You Care?

The NYSE is the only exchange offering “parity allocation” of all trades.  Roughly 600 million shares trade each day at the NYSE in the regular session; virtually all these trades happen at the NYSE matching engine via that parity allocation model that enables orders from multiple Floor brokers, DMMs and DOT orders at the top of the book to share executions at the same price point.

Floor broker orders, posted to the NYSE via what are called e-Quotes, can in particular yield higher fill rates and lower adverse selection owing to this parity model.  

Here, for example, is an analysis of production data from  the period Nov 2014-Feb 2017, examining a total of roughly a 100 thousand randomly picked orders across the 4 examined destinations (details available on request).  Compare e-Quotes’ fill times with that of orders placed at other marketplaces.

Fig   1:   Time   to   fill   is   lower   via   (Floor­broker   sent)   e­Quotes 

Introducing Deep Value’s FAST Parity Service: A Game Changer

Deep Value is now offering, via its Floor Access Strategies (FAST) Parity Service, the first Floor-wide access to parity for buy-side firms that wish to use custom algo strategies.

Currently,  custom strategies (as opposed to benchmark strategies) that receive parity allocations are used only by a limited base of trading customers who have contracted with NYSE-approved TPA providers.

The Deep Value Floor FAST Parity Service aims to broaden that base, while conforming to the requirements on NYSE TPA providers.  Deep Value is offering this in partnership with Floor brokers, and the service is available for customers of any Floor broker to use.  It will allow trading firms that were previously deterred from bearing TPA costs — costs of the trading stacks that run their own custom trading logics, separate market data infrastructure and associated hosting and connectivity — to now access parity more easily, and from their pre-existing trading infrastructures.

Thus Deep Value’s FAST Parity service allows Floor brokers to present their traditional e-Quote as a low-latency DMA endpoint that is simply accessed via FIX from customers’ existing servers.  

When Posting at Parity Typically Outperforms

While the usual disclaimers apply, in our research we observe that the value of parity via the e-Quote is most pronounced when book depth across marketplaces is relatively high (at least several hundred shares shown), when spreads are not too wide, and as in Fig 1, away from the open and close.

 

April 13 2017 · Filed in: research

A new DMA route that evidences alpha

The newly introduced Deep Value Floor Close route allows participation in the NYSE closing auction nearly a full fifteen minutes after the usual 3:45 p.m. deadline to participate in the close (subject to limitations and disclaimers, driven by market quality, compliance and other considerations). The upshot is that a straightforward trading strategy that in one case simply offsets the imbalance, and in another case uses a factor model in addition to the imbalance signal, yields decent Sharpes in the datasets examined.

Barebones Trading Strategy Based on the Imbalance Signal Alone

This analysis was done using the NYSE-listed names in S&P 500. The date range for the analysis is Nov 2013 – April 2015.

We use the imbalance feed, and trade on the same side of imbalance at 3:45.  The trading footwork is kept minimalist to evidence that there is no (or at least little room for) “data mining” — so the strategy hasn’t been carefully constructed to show profitability on the specific stocks and date ranges backtested. So we  don’t do marginal risk calculations or even factor neutralize.  The strategy is “one shot” in that it doesn’t adapt when imbalance quantities change.  We trade only the NYSE-listed subset of the S&P 500 names, instead of using the entire (sufficiently liquid) universe of NYSE-listed names and so, on. But as you will see, even this starting point shows promise.

For each name that we choose to enter into, the size we wish to trade into is chosen to be 10 basis points of the 20 day Average Daily Volume (ADV) traded in that name. The actual entry trading logic backtested uses only displayed orders, places those at the NBBO on the same side (so on the national best ask if selling), at the NYSE alone and pegs to the same side.

We exit all positions by participating in the close via market orders.

Comments on Simulation Fidelity

Our market models implement the market-specific fill logic by tracking the position of our simulated order in the order book.  As prints lift off lots of our orders advance. If the market trades through our price we give ourselves a fill. And so on, with some care.

In the interest of having high fidelity in our simulations, we take certain steps.  Our market models do not account for the incremental market impact of displayed sizes, and also do not simulate the incremental impact from the executions received in the backtesting.  We address these sources of simulation errors by choosing display sizes that are small relative to the sizes already on the book at order placement time, and by keeping the liquidity demanded low relative to the rate at which the market prints.  

While these steps result in simulations that track real-world production outcomes well, with this conservatism fill rates that are achieved are lower. To address this, in the trading simulation, we peg to the inside market, making our limits more aggressive with the market when the market moves away.  We inject latency into the simulation in the order of several 10s of milliseconds so there is no presumption of needing high quality trading and market data infrastructure, and of having low latency trading fabrics to make this chasing work.  

Order sizes resulting are small enough that the displacement to the closing auction price when we participate at the close is negligible.  In the simulations we track order book depth at order placement time, track prints and cancellations, use realistic mil rates and fees, and keep quoted sizes down.  Simulations track actual trading outcomes and production fill quantities well.  In our market model for the NYSE, we use a price-time priority fill model.

Transaction Cost Assumptions

We state explicit transaction costs and rebates in mils (cents per 100 shares). We assume that NYSE entry fills generate a rebate of 15 mils (this is indeed the prevalent rebating regime for liquidity contributed via DOT). Exit fills, fills that executed at the closing auction, are priced to cost 3 mils at the Exchange, and that in addition, there is a clearing and DMA fee that has also been accounted for.

Outcomes From Using the Imbalance Feed Alone

With the preliminaries done, let us look at results. Outcomes are shown in Table A, under the column “Imbalance Signal Alone“: Note that using the imbalance feed alone, and not using the factor model in addition, generates a Sharpe of a little over 1. Note that in some names we don’t get filled by the market in the entry trade, and hence we wind up trading on average only 295 names each day from (NYSE-listed subset of) the S&P 500.

Combining the Imbalance Feed with a Factor Model

We next add in a fundamental factor model intraday to generate buy and sell signals. We construct normalized factors using stock-specific fundamental data such as earnings yield, growth, beta, etc. The direction (long or short) is decided based on the sign of the idiosyncratic return (actual – estimated price) at 3:45. If the idiosyncratic return is positive, the stock is over-valued and we expect the price to drop going towards close. Positions are taken post 3:45 based on the premise that there is factor reversion.  We require both the imbalance feed signal and the factor model’s reversion signal coincide prior to trading. As before we exit our positions at the closing auction, after being in the market for roughly 15 minutes.

Table A under the column  headed “Factor Model Residue Reversion + Imbalance Signal” shows metrics when we combine the imbalance signal with that from the factor model. Note that the Sharpe and other PnL metrics have improved — the Sharpe is now 1.5, drawdowns are less severe compared to the average daily productivity and so on.

MetricFactor Model Residue Reversion AloneImbalance Signal Alone
Factor Model Residue Reversion + Imbalance Signal
Annualized Sharpe Ratio-3.81.11.5
pctWinningDays415353
pctWinningNameDays485151
ratioAvgWinToAvgLoss0.71.11.2
Pnl Mils-9811
numDaysToRecoverFromDD-370194107
avgAbsDailyNetExposure%5%29%28%
ADV (shs)3,609,2433,361,0923,410,091
ADDV ($)208,741,940191,286,249194,799,119
numDays362362361
numSymbolsPerDay308295147
numTotalSymbols
387315297

Data: NYSE-listed names in S&P 500. The date range for the analysis is Nov 2013 – April 2015

Conclusion

We have shown that getting extra 15 minutes to trade at the close is valuable in a particular trade where we offset the imbalance, and use the Floor Close route to flatten. There are, of course, many more reasons why it might be better to trade at the close at 3:59:49 instead of at 3:45 — every high frequency strategy, every market making strategy, in fact pretty much every strategy that looks to be flat at end of day could use a route that trades later in the day.  Contact us or your Floor Broker if you would like to explore whether this route can be of help to you.


Figure A: Equity lines for cumulative portfolio return: with transaction costs. The plot depicts the performance of the imbalance signal, factor reversion strategy and the combined strategy.

January 4 2017 · Filed in: research

Participate Later In the Closing Auction Via Deep Value’s New Route

The new Floor Close route can help trading desks reduce overnight risk moments before the close, and target the closing print better than ever before.

NEW YORK, 26th September 2016 — Deep Value is pleased to announce the Floor Close, a new direct market access route to the NYSE that allows desks to participate in the NYSE closing auction closer to the bell than ever before.

The NYSE closing auction is typically the single biggest liquidity event of the day across stock markets worldwide. For virtually every US cash trading desk across the world, Deep Value’s new Floor Close product may open up new trading opportunities and new avenues to shed risk.

Created via partnerships with Floor Brokers, Deep Value’s Floor Close is a genuine technology advance in the state of the art, and is fully ­compliant with applicable rules and regulations.

Via this technology breakthrough:

● Desks can reduce overnight risks in many hundreds of names moments before the bell

● Respond faster to closing imbalance feed updates, while being compliant

● Avoid the tracking error of “Target Close” algorithmic trading strategies ­­ strategies that target the price of the eventual closing print ­­ and instead simply participate directly in the close

● Buy­side desks can have larger position limits and gross books sizes near the market close

Limitations and disclaimers apply, driven by market quality, compliance and other considerations.

September 26 2016 · Filed in: News

Deep Value 2014 Highlights

Deep Value, a developer of high performance trading algorithms, traded 605B USD in the aggregate in 2014, and hit a daily high of over 400m shares, or 4.4% per cent of that day’s total US-wide stock market trading volume on June 27th.

“It is a priviledge to have the customer trust to trade such volumes,” said Harish Devarajan, CEO. “Firms trading at our scale distinguish themselves on stability, performance and service, and we are glad to see our investments and focus bringing value to customers.”

Deep Value continues to invest in building out its research and technology capabilities. The firm focuses heavily on empowering its researchers and technologists by providing easy-to-use development environments, accurate market models and tools to try out quantitative innovations, and manage outputs from bid data calculations. A key to its success have been its big data simulation infrastructure, which leverages Hadoop to run massive simulations that make it possible for the company to create fine-grained improvements to production performance.

Deep Value has offices in Boston, New York and Chennai.

About Deep Value

Deep Value is focused on developing the world’s best trading algorithms. The firm contributes between one to two percent of overall equity trading volume to US stock markets daily, and represented 4.4% per cent of overall US stock market volume in its 2014 daily high. The company’s world-class technology solution and platform is installed on-site at client locations as well as at co-located datacenters. Clients include prominent hedge funds and other prestigious financial services powerhouses. Deep Value is the dominant Exchange-sponsored provider of algorithms to all brokers on the Floor of the NYSE. Deep Value has developed its own distributed, fault-tolerant trading platform on top of industry standard open source components. This trading platform can also be run in a cluster based simulation framework allowing Deep Value’s research organization to bring to bear large clusters of machines to run sophisticated analysis aimed at improving performance. For more information visit: www.deepvalue.net

January 15 2015 · Filed in: News

Deep Value Posts Record Trading Volumes in 2013

-Deep Value Processes 5.26 per cent of the US-wide Stock Market Trading Volume-

CHICAGO, ILLINOIS — (Marketwired) — 02/26/14 — Deep Value, developer of high performance trading algorithms, reached a new milestone executing 481,401,795 shares or 5.26 per cent of total US-wide stock market trading volume on September 20, 2013.

Since it began publicly reporting its annual performance, Deep Value has seen substantial year-over-year growth. In December 2011, Deep Value achieved its single highest trading day, processing 1.8 per cent of US-wide stock market trading volume, up from a previous high of 1.3 per cent in June of the same year. In September of 2012, the company hit a new high-water mark, processing 3.7 per cent of US-wide volumes or more than 300 million shares.

“We hold ourselves to a high standard,” said Harish Devarajan, CEO of Deep Value. “Our rapid year-over-year growth is evidence that we are continuing to deliver superior performance levels.”

Deep Value trading volumes in 2011 totaled 10.3 billion shares valued at 265 billion dollars, compared to 12.6 billion shares in 2012, representing 400 billion dollars. The company topped 15.8 billion shares traded during 2013, representing in excess of 568 billion dollars.

Deep Value continues to invest in building out its research and technology capabilities. The firm focuses heavily on empowering its researchers and technologists by providing easy-to-use development environments, accurate market models and tools to manage and understand outputs from large calculations. A key to its success is its simulation infrastructure, which leverages Hadoop to run massive simulations that make it possible for the company to create fine-grained production improvements.

Deep Value has offices in Chicago, Toronto, New York, London, Bangalore and Chennai.

About Deep Value

Deep Value is focused on developing the world’s best trading algorithms. The firm contributes between one to two percent of overall equity trading volume to US stock markets daily, and represented 5.3 per cent of overall US stock market volume in its 2013 daily high. The company’s world-class technology solution and platform is installed on-site at client locations as well as at co-located datacenters. Clients include prominent hedge funds and other prestigious financial services powerhouses. Deep Value is the dominant Exchange-sponsored provider of algorithms to all brokers on the Floor of the NYSE. Deep Value has developed its own distributed, fault-tolerant trading platform on top of industry standard open source components. This trading platform can also be run in a cluster based simulation framework allowing Deep Value’s research organization to bring to bear large clusters of machines to run sophisticated analysis aimed at improving performance. For more information visit: www.deepvalue.net

March 12 2014 · Filed in: News

1 2 3