sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
6.01k stars 2.2k forks source link

FUTURES POSITION INFORMATION PROBLEM #586

Open onrmrc opened 4 years ago

onrmrc commented 4 years ago

Even though I have typed the symbol, I was unable to get the information on the precise pair. The response includes every pair that is in futures markets.

I can get the set value from a response list like writing response[0], still, it is just a temporary solution because the number represents the crypto changes constantly.

fl0wjacky commented 3 years ago

Even though I have typed the symbol, I was unable to get the information on the precise pair. The response includes every pair that is in futures markets.

I can get the set value from a response list like writing response[0], still, it is just a temporary solution because the number represents the crypto changes constantly.

this repo use the old api /fapi/v1/positionRisk, this api not support the symbol argument binance new api /fapi/v2/positionRisk support symbol, this repo need update