Parse transaction using parseSettlementTransaction()
How does it work now?
We don't show the historic value, historic P&L, liquidation time, liquidation price, settlement reason (matured, liquidated).
How should it work?
-
Parse the settlement transaction using parseSettlementTransaction(): -
Show historic P&L in positions table under the P&L column -
Show the Settled Value, Settled at (time), Settle reason, Settled price, in the closed position window:
Closed position window:
long:
- start value
- settle value
- start price
- settle price
- settle reason
- settled at
- margin
(remove low liquidation price and duration)
hedge:
- start value
- settle value
- start price
- settle price
- settle reason
- settled at
What are the benefits? More info for users.
Edited by Anton Panteleev