Add PositionStatusV5 and PositionSideV5 types

This commit is contained in:
William
2024-04-25 17:26:07 +02:00
parent ed20b625c5
commit 400e86a777

View File

@@ -153,6 +153,16 @@ export type StopOrderTypeV5 =
*/ */
export type PositionIdx = 0 | 1 | 2; export type PositionIdx = 0 | 1 | 2;
/**
* Position status.
*
* - 'Normal'
* - 'Liq' in the liquidation progress
* - 'Adl' in the auto-deleverage progress
*/
export type PositionStatusV5 = 'Normal' | 'Liq' | 'Adl';
export type PositionSideV5 = 'Buy' | 'Sell';
export type OptionTypeV5 = 'Call' | 'Put'; export type OptionTypeV5 = 'Call' | 'Put';
/** /**