nardew / cryptoxlib-aio

cryptoxlib-aio - asynchronous python client for various crypto exchanges with full REST API and websocket support. Supported exchanges: AAX, Bibox, BiboxEurope, Binance (spot, margin, USDS-M futures, COIN-M futures, BLVT, BSwap), Bitforex, BitpandaPro, Bitvavo, BTSE, Coinmate, Eterbase, HitBTC, Liquid.
https://pypi.org/project/cryptoxlib-aio/
MIT License
129 stars 34 forks source link

[FEATURE REQUEST] isn't there any ways to do Futures trades ? #23

Closed Hassan-Fa closed 3 years ago

Hassan-Fa commented 4 years ago

sorry if this feature exists and I didn't find it , just point me in the right direction 🙏

💕

nardew commented 4 years ago

Hi, not at the moment since there was no demand for it. Which exchange are you interested in?

Hassan-Fa commented 4 years ago

oh ok

I guess if there's any demand for Futures it'd be BTCUSDTPERP

nardew commented 4 years ago

Hi @Hassan-Fa, I am afraid that implementation of futures is not priority at the moment. It could be worked on in the future but I cannot give you any estimate. Sorry.

Diadikos87 commented 3 years ago

Hi @nardew . Have you perhaps reconsidered this feature, for Binance at least?

nardew commented 3 years ago

Hi @Diadikos87, which endpoints are interested in particular? Margin/futures endpoints from https://binance-docs.github.io/apidocs/spot/en/ will potentially be ready in the near future thanks to a help from a community member. Endpoints for usds-m (https://binance-docs.github.io/apidocs/futures/en/) and coin-m (https://binance-docs.github.io/apidocs/delivery/en/) futures are still not planned. If these are the endpoints you are after, then you can list here the calls which you are most interested in and I will see what I can do.

xiandong79 commented 3 years ago

Thanks for your awesome work.

yeah, I agree that Binance Future, the largest trading platform is needed.

nardew commented 3 years ago

Hi @xiandong79 , same question as above, which endpoints are you interested in? Usds-m, coin-m, ... based on that I could prioritize them.

xiandong79 commented 3 years ago

Usds-m for now. as the existing libs for Usds-m are all sync version.

i.e.

  1. https://github.com/sammchardy/python-binance
  2. https://github.com/Binance-docs/Binance_Futures_python
nardew commented 3 years ago

@xiandong79 @Diadikos87 @Hassan-Fa the library now contains full implementation of USDS-M Futures. The changes are done on the PR #44 which can be cloned and used. Any feedback is welcome. Margin endpoints and COIN-M futures will come soon.

nardew commented 3 years ago

Margin endpoints added into the same PR thanks to @davidmcnabnz