nautilus_trader
nautilus_trader copied to clipboard
Support of perpetual futures contract
Could nautilus support crypto perpetual futures contract . Trading of perpetual futures contract implies paying (or receiving) funding payments periodically based on the funding rate - usually every 8-24 hours. Open positions with perpetual futures contract must be collateralized with USD pegged stablecoins (linear) or with the crypto asset itself like BTC or ETH (inverse).
https://en.wikipedia.org/wiki/Perpetual_futures
Hi @quant2008
The platform supports crypto perpetual futures contracts, we have the instruments defined and these can be traded live or backtest. What isn't simulated for backtesting however is the funding rates.
This is likely to come in a future upgrade to accounting, with extendable commission/fee models - but is too far down on the priority list to be able to give an accurate estimate for.
I'd be happy to discuss any ideas you may have though on how we could incorporate this into the current codebase, as it shouldn't be too hard to just add funding rate data and periodic account state events as the backtest progresses.