Skip to content

Develop#722

Open
dragosgr2 wants to merge 5 commits intomasterfrom
develop
Open

Develop#722
dragosgr2 wants to merge 5 commits intomasterfrom
develop

Conversation

@dragosgr2
Copy link

Can you add the Vanilla Options API from Binance to the client?

@kimchirichie
Copy link
Contributor

please document a bit clearer on what this pr is trying to achieve.

@dragosgr2
Copy link
Author

please document a bit clearer on what this pr is trying to achieve.

Binance launched the API for Vanilla Options in January: https://binance-docs.github.io/apidocs/voptions/en/#general-info

@faileon
Copy link

faileon commented Mar 23, 2021

What's the status of this? I would like to use the API to trade vanilla options, but this wrapper does not offer the functions mentioned by @dragosgr2 - https://binance-docs.github.io/apidocs/voptions/en/#general-info

I could dedicate some time, implement it and push PR, if nobody is working on it?

@kimchirichie
Copy link
Contributor

@faileon further effort would be greatly appreciated.

przemyslawgarlinski and others added 2 commits March 28, 2022 18:31
When end_ts is passed historical klines are fetched until Binance API returns no results. With every query start_ts is incremented. For the most part this cause one unnecessary query to Binance to be made, where start_ts is bigger than end_ts. Moreover, when fetching klines for future markets (not spot), Binance API returns an error in such condition (-1023). This makes it impossible to fetch klines for future markets when providing end_str param.
Fix passing start_ts > end_ts when fetching historical klines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants