Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #722

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Develop #722

wants to merge 5 commits into from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants