Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of perpetual futures contract #1484

Open
quant2008 opened this issue Jan 31, 2024 · 1 comment
Open

Support of perpetual futures contract #1484

quant2008 opened this issue Jan 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@quant2008
Copy link

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

@quant2008 quant2008 added the enhancement New feature or request label Jan 31, 2024
@cjdsellers
Copy link
Member

cjdsellers commented Feb 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants