.get_position()

HELP.
position_info = request_client.get_position()
print(position_info[136])
This is my futures position BTCUSDT.
how to get this data separately:
a = entryPrice
b= leverage,
c = mark Price,
d= unrealized Profit
, and so on…
Do you know another, easy way to get this data?
I am in the process of creating a trading bot . I use the library GitHub - Binance-docs/Binance_Futures_python I’m burning with it.
Please, if you want to participate in this project, directly or indirectly. Please write to me . My name is Anton. From Rus.
slashylka1mail@gmail.com

The properties you mentioned above are obtainable via GET /fapi/v2/positionRisk. If you are having trouble using the library, I suggest contacting the owner of the library directly.

1 Like