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

Vanilla Options - request to add market data and execution #1134

Open
salsburg opened this issue Aug 5, 2022 · 1 comment
Open

Vanilla Options - request to add market data and execution #1134

salsburg opened this issue Aug 5, 2022 · 1 comment

Comments

@salsburg
Copy link

salsburg commented Aug 5, 2022

Binance API was modified recently to provide for market data and trading of vanilla options (on futures BTC, ETH, XRP, and others).

documentation for api is here: https://developers.binance.com/docs/binance-trading-api/voption
GET /vapi/v1/optionInfo

symbol looks like: BTC-210129-40000-C as an example

example curl command:

$ curl -H "X-MBX-APIKEY: 22BjeOROKiXJ3NxbR3zjh3uoGcaflPu3VMyBXAg8Jj2J1xVSnY0eB4dzacdE9IWn" -X POST 'https://vapi.binance.com/vapi/v1/order' -d 'symbol=BTC-210129-40000-C&side=BUY&type=LIMIT&timeInForce=GTC&quantity=0.01&price=2000&recvWindow=5000&timestamp=1611825601400&signature=7c12045972f6140e765e0f2b67d28099718df805732676494238f50be830a7d7'

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

No branches or pull requests

2 participants
@salsburg and others