Binance Futures adapter - Instructions, Change Log

User avatar
Rok
Posts: 50
Joined: Tue Mar 24, 2020 2:08 pm
Has thanked: 1 time
Been thanked: 8 times

Binance Futures adapter - Instructions, Change Log

Post by Rok » Wed Mar 25, 2020 8:01 am

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.

mka
Posts: 7
Joined: Fri Feb 28, 2020 11:53 pm
Has thanked: 2 times

Re: Binance Futures adapter - Instructions, Change Log

Post by mka » Tue Mar 31, 2020 9:33 pm

Please enable market stop order type.

User avatar
Rok
Posts: 50
Joined: Tue Mar 24, 2020 2:08 pm
Has thanked: 1 time
Been thanked: 8 times

Re: Binance Futures adapter - Instructions, Change Log

Post by Rok » 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

Tetsukei
Posts: 7
Joined: Tue Mar 31, 2020 8:25 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Binance Futures adapter - Instructions, Change Log

Post by Tetsukei » Wed Apr 01, 2020 9:44 am

They've recently added Stop Market and Trailing Stop Market functionality to their API btw :D  (2019-12-19 and 2020-02-26 respectively).

mka
Posts: 7
Joined: Fri Feb 28, 2020 11:53 pm
Has thanked: 2 times

Re: Binance Futures adapter - Instructions, Change Log

Post by mka » Thu Apr 02, 2020 8:44 am


mka
Posts: 7
Joined: Fri Feb 28, 2020 11:53 pm
Has thanked: 2 times

Re: Binance Futures adapter - Instructions, Change Log

Post by mka » Thu Apr 02, 2020 6:15 pm

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.

User avatar
Rok
Posts: 50
Joined: Tue Mar 24, 2020 2:08 pm
Has thanked: 1 time
Been thanked: 8 times

Re: Binance Futures adapter - Instructions, Change Log

Post by Rok » Fri Apr 03, 2020 7:26 am

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.

mka
Posts: 7
Joined: Fri Feb 28, 2020 11:53 pm
Has thanked: 2 times

Re: Binance Futures adapter - Instructions, Change Log

Post by mka » Fri Apr 03, 2020 5:46 pm

[edited]
This error occurs when flattening a short position.
Capture2.PNG
error on "flatten"
Capture2.PNG (142.07 KiB) Viewed 9023 times
 

Tetsukei
Posts: 7
Joined: Tue Mar 31, 2020 8:25 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Binance Futures adapter - Instructions, Change Log

Post by Tetsukei » Fri Apr 03, 2020 8:04 pm

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 😅

MaxInvest
Posts: 19
Joined: Tue Dec 17, 2019 12:30 pm
Has thanked: 4 times
Been thanked: 3 times

Re: Binance Futures adapter - Instructions, Change Log

Post by MaxInvest » Sun Apr 05, 2020 6:50 pm

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. 

Post Reply