Search code examples
python-3.xbinance

How get current positions by Binance API, Python


Can someone say how to get current positions by python-binance? Like "WAVESUSDT" on screen.

enter image description here

Here is the documentation, but I can't find there this method. Could someone help me, please? https://python-binance.readthedocs.io/en/latest/account.html#account


Solution

  • Found, yeah!

    client = Client(api,key)
    client.futures_account()['positions']