@uniswap/client-trading 0.12.16 → 0.12.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8015,12 +8015,13 @@ export type MarginPositionRow = Message<"trading.v1.MarginPositionRow"> & {
|
|
|
8015
8015
|
/**
|
|
8016
8016
|
* TERMINAL only, and likewise cost-basis derived. `realized_pnl` is raw
|
|
8017
8017
|
* collateral-token units: collateral returned minus collateral deposited.
|
|
8018
|
-
* On a terminal LONG `size` is the collateral it held when it closed.
|
|
8019
|
-
*
|
|
8020
|
-
*
|
|
8021
|
-
*
|
|
8022
|
-
*
|
|
8023
|
-
*
|
|
8018
|
+
* On a terminal LONG `size` is the collateral it held when it closed. On a
|
|
8019
|
+
* terminal SHORT it is the debt it owed when it closed, interest included,
|
|
8020
|
+
* or, when its debt was repaid before its collateral left, the debt that
|
|
8021
|
+
* repay cleared. Without that debt on record, as for a SHORT closed before
|
|
8022
|
+
* it was kept, it is the debt drawn over the position's life, before
|
|
8023
|
+
* interest: 0 when none was seen drawn, and more than it closed with after
|
|
8024
|
+
* a leverage decrease or partial liquidation.
|
|
8024
8025
|
*
|
|
8025
8026
|
* @generated from field: optional int64 closed_at = 20;
|
|
8026
8027
|
*/
|