You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I placed a LONG position and, at the same time, placed two opposite orders for TP and SL.
While monitoring these two orders to see which one gets filled, I noticed an issue.
The 'rp' (realized profit) value does not reflect the total PnL of the order. Instead, it shows a partial amount (e.g., -23.35659708 USDT in the screenshot).
Is this the expected behavior? If not, can anyone help me retrieve the total PnL?
Describe the bug
I placed a LONG position and, at the same time, placed two opposite orders for TP and SL.
While monitoring these two orders to see which one gets filled, I noticed an issue.
The 'rp' (realized profit) value does not reflect the total PnL of the order. Instead, it shows a partial amount (e.g., -23.35659708 USDT in the screenshot).
Is this the expected behavior? If not, can anyone help me retrieve the total PnL?
To Reproduce
Expected behavior
order_update['rp']
should return the total PnL, not a partial value, when the order is filled by multiple trades.Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: