Binance, How to Obtain Current Account Positions of Futures Contracts
See original GitHub issueMUST READ THIS BEFORE SUBMITTING ISSUES (read the link, then delete this message before submitting):
https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-submit-an-issue
Please make sure your local version of ccxt is up to date with this repo. You can check by comparing the output of ccxt.version to https://github.com/ccxt/ccxt/blob/master/package.json#L3
- OS: Windows 10
- Programming Language version: Python 3.6
- CCXT version: 2.26
- Exchange: binance
- Method: fetchBalance
Hi Team,
Could you please point me in the direction, how to retrieve the current position (the equivalent of the “Size” column you would see on their Futures Market web console) of a Futures contract in my Binance Futures Account (spot works absolutely fine). I have successfully pointed towards the fapi endpoint, it is just that the method .FetchBalance() does not seem to contain any information about the quantity of how many Futures the account owns (e.g.: for Bitmex, this is solved by using the method call “.private_get_position()”).
Could you please point me in the right direction (I am not sure this is an actual issue)?
Thank you very much in advance!
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (7 by maintainers)
Top Related StackOverflow Question
@markoarnauto yes, we are working on unifying contract-trading positions, it’s a work in progress.
@h-keskin
It’s basically a line-to-line equvalent.