Page 1 of 5

Binance Futures adapter - Instructions, Change Log

Posted: Wed Mar 25, 2020 8:01 am
by Rok
Binance Futures adapter

Instructions

See the Knowledge Base adapter page for Binance Futures installation instructions.

Changelog

v0.2.2 - v0.2.8
- Minor fixes.


v0.2.1
- Adds trading support.

v0.1.0
- Initial release. Only displays market data (no trading support).


Please report any issues or request features.

Re: Binance Futures adapter - Instructions, Change Log

Posted: Tue Mar 31, 2020 9:33 pm
by mka
Please enable market stop order type.

Re: Binance Futures adapter - Instructions, Change Log

Posted: Wed Apr 01, 2020 8:48 am
by Rok
mka wrote:
Tue Mar 31, 2020 9:33 pm
Please enable market stop order type.
Stop market orders are not supported by the Binance Futures API.

Alternatively, you might want to set a stop limit order with a large offset (ensuring to get a fill, when the stop order is triggered).

For example:
Image

Re: Binance Futures adapter - Instructions, Change Log

Posted: Wed Apr 01, 2020 9:44 am
by Tetsukei
They've recently added Stop Market and Trailing Stop Market functionality to their API btw :D  (2019-12-19 and 2020-02-26 respectively).

Re: Binance Futures adapter - Instructions, Change Log

Posted: Thu Apr 02, 2020 8:44 am
by mka

Re: Binance Futures adapter - Instructions, Change Log

Posted: Thu Apr 02, 2020 6:15 pm
by mka
Rok wrote:
Wed Apr 01, 2020 8:48 am
mka wrote:
Tue Mar 31, 2020 9:33 pm
Please enable market stop order type.
Stop market orders are not supported by the Binance Futures API.

Alternatively, you might want to set a stop limit order with a large offset (ensuring to get a fill, when the stop order is triggered).

For example:
Image

This does not work. It results in partial fills.

Re: Binance Futures adapter - Instructions, Change Log

Posted: Fri Apr 03, 2020 7:26 am
by Rok
Thanks, I see that Binance Futures instruments indeed do support stop market orders (unlike Binance Spot, where support in the main docs is mentioned as well, but no instrument actually does support according to the instrument list). We'll add this shortly.
mka wrote:
Thu Apr 02, 2020 6:15 pm
This does not work. It results in partial fills.
If the offset is large enough, regardless whether there are multiple partial fills or or one complete, the order all in all should be completely filled.

Re: Binance Futures adapter - Instructions, Change Log

Posted: Fri Apr 03, 2020 5:46 pm
by mka
[edited]
This error occurs when flattening a short position.
Capture2.PNG
error on "flatten"
Capture2.PNG (142.07 KiB) Viewed 51327 times
 

Re: Binance Futures adapter - Instructions, Change Log

Posted: Fri Apr 03, 2020 8:04 pm
by Tetsukei
mka wrote:
Fri Apr 03, 2020 5:46 pm
[edited]
This error occurs when flattening a short position.
Capture2.PNG

Are you setting the value positive? The close out positions similar to a market order, set the offset positive regardless of being short or long. Bookmap does the rest as far as I know.

Works pretty well for me 😅

Re: Binance Futures adapter - Instructions, Change Log

Posted: Sun Apr 05, 2020 6:50 pm
by MaxInvest
Im already using Binance but How do I use Binance Futures?. On the adapters I only see "Binance" but not one named "Binance Futures". If its just one adapter, how do I know which Binance Im seeing?. Thanks.