Add PositionStatusV5 and PositionSideV5 types
This commit is contained in:
@@ -153,6 +153,16 @@ export type StopOrderTypeV5 =
|
||||
*/
|
||||
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';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user