Display all the positions

Hello,

Which endpoint should I use to display all the positions since the creation of the Binance account? This is for the purpose of displaying statistics.

Thanks in advance.

Hi.
You can use this endpoint to see all the current positions: GET /fapi/v2/positionRisk ( https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data )

However, if you want to see the positions held in the past, you have to look through your orders instead. GET /fapi/v1/allOrders ( https://binance-docs.github.io/apidocs/futures/en/#all-orders-user_data )

dear , would it be possible to get the python instruction to get the position open at that time?