Hi Binance API team,
We'd like to request a feature addition to the Position Information endpoint
(GET /fapi/v3/positionRisk).
Problem:
There is currently no way to link an open position to the order that opened it.
When placing a stop-loss order, we want to verify that the liquidation price
is safely below the SL trigger price. To do this correctly we need to identify
which position the SL order belongs to — but position_information_v3 returns
no reference to any order ID.
The only workaround is to query the algo order separately
(GET /fapi/v1/algoOrder) to get positionSide, then cross-reference with
positions — which requires 2 REST calls just to get liquidation price for
a specific trade.
Request:
Add openingOrderId or lastOrderId field to the position object in
GET /fapi/v3/positionRisk response. This would allow developers to directly
link a position to the order that created it.
This is especially important for risk management use cases where you need
to validate SL vs liquidation price for a specific trade.
Thank you
Hi Binance API team,
We'd like to request a feature addition to the Position Information endpoint
(GET /fapi/v3/positionRisk).
Problem:
There is currently no way to link an open position to the order that opened it.
When placing a stop-loss order, we want to verify that the liquidation price
is safely below the SL trigger price. To do this correctly we need to identify
which position the SL order belongs to — but position_information_v3 returns
no reference to any order ID.
The only workaround is to query the algo order separately
(GET /fapi/v1/algoOrder) to get positionSide, then cross-reference with
positions — which requires 2 REST calls just to get liquidation price for
a specific trade.
Request:
Add
openingOrderIdorlastOrderIdfield to the position object inGET /fapi/v3/positionRisk response. This would allow developers to directly
link a position to the order that created it.
This is especially important for risk management use cases where you need
to validate SL vs liquidation price for a specific trade.
Thank you