Hey everyone,

I've been coding a spot-future arbitrage strategy for Binance. It uses an universe selection to find matching Spot & Future Crypto Pairs, then simultaneously shorts one market and longs the other to capture the spread.

Unfortunately, it's impossible to backtest with Quantconnect. 

The core issue is that LEAN's single portfolio model doesn't match the reality of Binance, where Spot Margin and Futures are completely separate accounts with their own collateral. The backtest unrealistically pools the margin and PnL, making the results unreliable. I think in live mode it would fail because of this limitations.

It's a fundamental limitation for this type of cross-wallet strategy. Just wanted to share the concept and this finding. I've attached a 3-Months backtest to show the potential.