Note,

What’s left of the carry

A spot–perpetual basis trade looks simple. Hold the asset, short the perpetual future against it, and collect the funding that longs pay shorts while the perpetual trades above spot. On a chart of the raw spread, it looks like carry.

The return you actually get is a sum of several things, and the spread on the chart is only one of them:

net ≈ Σ funding received
  − fees on both legs
  − slippage on both legs
  ± profit or loss on the exposure left between the legs

Funding is not a constant. The exchange resets it periodically, it moves with demand for leverage, and it can turn negative, at which point the position pays instead of earning. Fees and slippage are paid on the way in and on the way out, on both legs, and on two venues if the hedge sits on a different exchange. And the two legs are never perfectly matched in size or timing, so some exposure is always left over.

I’ve built basis and cross-exchange hedging strategies, and I kept running into the same question: how much of the apparent carry is left after funding, fees and execution? That is why the replay engine in my trading system models fees, funding, slippage and latency explicitly and reports net profit, instead of reading the raw price spread. Without those costs, basis and spread strategies look better than they would in execution.

Related: candles vs the book →