aftermath-ts-sdk 4.0.0-dev.0d478c0 → 4.0.0-dev.2abb49e
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.
- package/dist/index.d.ts +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6180,6 +6180,17 @@ interface PerpetualsWsUpdatesOraclePayload {
|
|
|
6180
6180
|
basePrice: number;
|
|
6181
6181
|
/** Current collateral price, in USD. */
|
|
6182
6182
|
collateralPrice: number;
|
|
6183
|
+
/**
|
|
6184
|
+
* Current mark price — what positions are marked against for PnL and
|
|
6185
|
+
* liquidation, as opposed to the raw index price.
|
|
6186
|
+
*/
|
|
6187
|
+
markPrice: number;
|
|
6188
|
+
/**
|
|
6189
|
+
* Raw orderbook mid price, or `null` when either side of the book is empty.
|
|
6190
|
+
* Nullable where `markPrice` is not: mark falls back to the index price
|
|
6191
|
+
* upstream, whereas a raw mid has none.
|
|
6192
|
+
*/
|
|
6193
|
+
bookPrice: number | null;
|
|
6183
6194
|
}
|
|
6184
6195
|
/**
|
|
6185
6196
|
* Websocket payload for market orders stream.
|