Alpha is Only Part of the Puzzle

Alpha is Only Part of the Puzzle

If I had to pick between having good alpha and good execution, I’d pick the latter. This might seem counter-intuitive but I can tell from personal experience that it is possible to trade profitably with zero alpha (an operational issue which persisted undetected for a few months!) given a good infrastructure setup, but very hard to make money with a good model but uncompetitive execution.

A Toy Example

Suppose you are given a black box model which produces a price prediction on a regular grid timer; the output is either +1 (-1) if the model expects the mid price to go up (down) over the next interval. It outputs zero when no change of the mid is expected. The model has an error rate E when the sign of the output is flipped (the error only affects non-zero predictions).

You now try to monetize this alpha with the following simple execution strategy: If the prediction is positive (negative), place a BUY (SELL) order on the passive touch, joining the back of the queue. If the order has not been filled by the end of the interval AND the prediction has not changed AND the BBO price has not changed, then keep the order open (preserving its queue position), otherwise cancel/modify it based on the latest prediction. In case of a zero prediction, cancel any outstanding order and do nothing until the start of the next interval.

Results

The chart below shows the performance of such a model/execution pair vs. the model’s prediction horizon and its error rate (we also assume a position limit and order size of 1 to minimize the noise introduced by large positions). The upper boundary represent a pure coin flip, the bottom edge that of an oracle.

No alt text provided for this image
Figure 1: Average PnL for the simple passive execution strategy as a function of the model's prediction horizon (horizontal axis) and its accuracy (vertical axis, expressed as error rate).


Observations:

  • For short prediction horizons, even unrealistically good models (>90% accuracy) fail to make money. This is because the order joining the back of the queue is very unlikely to get filled; this probability is much larger, however, in those small number of cases where the prediction is wrong.
  • The longer the prediction horizon, the less accuracy is required for the strategy to break even.
  • Longer prediction horizons limit the PnL potential by constraining the volume (can only trade 1 lot per interval).
  • Note that in reality you will never achieve an 85% accuracy over 1 min (the breakeven point here). This shows how crucial the execution is.

A model can be “better” in terms of R2, AUC, accuracy, recall, … and still perform worse in PnL terms than a seemingly “worse” model. Hence, the quality of the model has to be measured in combination with an execution algo. In general, model accuracy decreases with increasing horizon. Is it better to have an accurate short-term model or a less accurate longer-term model? Only a backtest will be able to tell.


Methodology

  1. Using an A7 algo, generate files with the following quantities on a grid timer:

  • Timestamp
  • BidPrice
  • AskPrice
  • LastBidPriorityTimestamp (of last order on the best bid level)
  • LastAskPriorityTimestamp
  • Highest passive sell price over preceding interval
  • Lowest passive buy price over preceding interval
  • PriorityTimestamp of last passive order filled at highest sell price
  • PriorityTimestamp of last passive order filled at lowest bid price

2. At each timestamp, look ahead to the next row and determine the actual mid change and generate a -1/0/+1 prediction.

3. With probability E, flip the sign of the prediction.

4. Cancel/submit order to touch (while not breaking the position limit); their PriorityTimestamp is the priority of the last order in the queue + 1

5. At the end of the interval (i.e., reading the next row of data), check if the order (if any) has been filled by checking if either

  • there was a fill on a less aggressive price level OR
  • there was a fill at the same price for an order with a higher PriorityTimestamp, i.e., which joined behind us

6. Keep track of position and pnl.


#algotrading #marketmaking #eurex #xetra #quantitativeresearch #alpha #pnl #executionmanagement #tca #toxicity #trading

What about a taker model? Is it easier/harder? What would the graph look like and at which point would a pure taker model be profitable?

回复

A naive question: Why is it so? "this probability is much larger, however, in those small number of cases where the prediction is wrong."

回复
Victor Kamenski

Algorithmic trading

2 年

For comparison, did you try simulating a strategy with good priority (perhaps with zero alpha as mentioned)?

回复

要查看或添加评论,请登录

Stefan Schlamp的更多文章

  • Bullets Dodged, Bullets Caught

    Bullets Dodged, Bullets Caught

    Suppose you have a resting order in the limit order book. Your fair value model suggests that you should pull the order.

    8 条评论
  • Closing Auction Market Share - The Long View

    Closing Auction Market Share - The Long View

    There have been some recent studies that highlighted the increasing market share of the closing auction (see references…

  • Are Fill/Cancels to Blame?

    Are Fill/Cancels to Blame?

    Two weeks ago I decomposed market makers' profitability (or lack thereof) into a suite of market factors. This week I…

    3 条评论
  • Where'd Your Money Go?

    Where'd Your Money Go?

    Under ideal conditions (ideal from the market maker's point of view), the market maker earns the half-spread on every…

    8 条评论
  • Share Buyback Regs vs. Physics

    Share Buyback Regs vs. Physics

    The regulations for executing share buybacks are oddly specific. For example 2016/1052: Buy orders shall be entered or…

    3 条评论
  • Retail, Dark Midpoint, and CLOB Intraday Volume Profile

    Retail, Dark Midpoint, and CLOB Intraday Volume Profile

    Trades facilitated by retail liquidity providers and trades on the dark midpoint book can be distinguished from…

    3 条评论
  • Variability of Auction Liquidity

    Variability of Auction Liquidity

    Suppose you estimate your price impact on the auction uncrossing price based on some historical average. How far off…

  • Manz AG (M5Z)

    Manz AG (M5Z)

    On 20241218, trading in Manz AG (M5Z) was suspended on Xetra for an upcoming announcement. This turned out to be that…

  • Pie In The Sky

    Pie In The Sky

    Imagine two markets: In the first market, all trades mark out flat. In the second one, half the trades mark out +1, the…

    6 条评论
  • Go Big or Go Home - 2024Q4

    Go Big or Go Home - 2024Q4

    Table 1 is the quarterly round-up of the most noteworthy Xetra and Eurex trades of 2024Q4. Mostly on par with the…

    9 条评论

社区洞察

其他会员也浏览了