nautechsystems / nautilus_trader

A high-performance algorithmic trading platform and event-driven backtester
https://nautilustrader.io
GNU Lesser General Public License v3.0
1.72k stars 403 forks source link

Binance integration #429

Closed cjdsellers closed 2 years ago

cjdsellers commented 2 years ago

Given the recent announcement on discontinuing CCXT support #428 opening this issue to track general discussions on a prioritized Binance integration.

cjdsellers commented 2 years ago

The adapter client example templates have been updated bfd3d454e4091c25238558ec24b18e0fe1ff4978.

cjdsellers commented 2 years ago

There has been some progress on the Binance integration. Currently it is ready for early pioneer beta testing for SPOT market trading from the develop branch. You can find some examples here .

Note you'll need to setup your BINANCE_API_KEY and BINANCE_API_SECRET env vars, or copy-paste those into the appropriate config fields.

Limitations

Data The BinanceDataClient has all functionality implemented including the order book and custom data types for the BinanceTicker and BinanceBar (which contains additional data beyond the regular Bar).

Execution The BinanceExecutionClient can handle MARKET, LIMIT and STOP_LIMIT order types, with all TIF and execution options available including post_only and icebergs (display_qty).

Roadmap The current plan is to soon move to looking at the FTX integration, prior to implementing Binance sub-accounts, OCO orders, and margin or futures trading.

cjdsellers commented 2 years ago

As per #500 we need to add some functionality to this integration.

See first post for task progress.

MikeCoderr commented 2 years ago

Hi, I would be really interested in the USD-M-Futures. What is your realistic timeline? If I would be willing to pay for that, what would the cost be to get it implemented sooner?

Thanks Mike

cjdsellers commented 2 years ago

Hi Mike,

Thanks for your interest in the project!

Indeed a full integration for Binance USD-M-Futures is not a trivial undertaking. Due to finite resources we welcome external sponsorship to help grow the capabilities of the project for everyone.

You're welcome to email us directly at info@nautechsystems.io where we can discuss further details.

cjdsellers commented 2 years ago

This integration has been maturing and stabilizing, now being tested by several users. An open task remaining is implementing more of the Margin account functionality (Spot and Futures are much further ahead right now).

Closing this in favor of specific issues.