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

Accessing the Mark Price #1361

Open
B-erkamklnc opened this issue Oct 2, 2023 · 1 comment
Open

Accessing the Mark Price #1361

B-erkamklnc opened this issue Oct 2, 2023 · 1 comment

Comments

@B-erkamklnc
Copy link

Sorry for my bad English. I need to access the mark price in futures, but I can't find a function like the last price function. All functions that can be used to access the mark price seem to include the requirement to be in position. However, I am looking for a way to access even if I am not in the position. I saw that there is an API path in the Binance documentation, but I couldn't find this feature in the library. Can you show me a way to access the mark price? If it is not possible, can you add this feature in the Binance API documentation?

@B-erkamklnc B-erkamklnc changed the title Mark Price Accessing the Mark Price Oct 2, 2023
@lucifgy
Copy link

lucifgy commented Oct 8, 2023

If I understood you correctly then there is both
futures_mark_price(self, **params)
for https://binance-docs.github.io/apidocs/futures/en/#mark-price
and
futures_coin_mark_price(self, **params)
for https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
in the wrapper. And there seem to be no mistakes with the requests.

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