feat(v4.1.14): Add new fields to response types for account, position, execution, spread trading, and websocket events.
bump version to 4.1.14 and update package-lock.json.
This commit is contained in:
@@ -32,6 +32,10 @@ export interface WalletBalanceV5 {
|
||||
accountLTV: string;
|
||||
accountIMRate: string;
|
||||
accountMMRate: string;
|
||||
accountIMRateByMp: string;
|
||||
accountMMRateByMp: string;
|
||||
totalInitialMarginByMp: string;
|
||||
totalMaintenanceMarginByMp: string;
|
||||
totalEquity: string;
|
||||
totalWalletBalance: string;
|
||||
totalMarginBalance: string;
|
||||
|
||||
@@ -48,6 +48,8 @@ export interface PositionV5 {
|
||||
leverageSysUpdatedTime: string | '';
|
||||
createdTime: string;
|
||||
updatedTime: string;
|
||||
positionIMByMp: string;
|
||||
positionMMByMp: string;
|
||||
seq: number;
|
||||
}
|
||||
|
||||
@@ -94,6 +96,7 @@ export interface ExecutionV5 {
|
||||
orderType: OrderTypeV5;
|
||||
stopOrderType?: StopOrderTypeV5;
|
||||
execFee: string;
|
||||
execFeeV2: string;
|
||||
execId: string;
|
||||
execPrice: string;
|
||||
execQty: string;
|
||||
|
||||
@@ -121,4 +121,5 @@ export interface SpreadTradeV5 {
|
||||
execQty: string;
|
||||
execId: string;
|
||||
legs: SpreadTradeLegV5[];
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
@@ -236,6 +236,8 @@ export interface WSPositionV5 {
|
||||
autoAddMargin: number;
|
||||
positionMM: string;
|
||||
positionIM: string;
|
||||
positionIMByMp: string;
|
||||
positionMMByMp: string;
|
||||
liqPrice: string;
|
||||
bustPrice: string;
|
||||
tpslMode: string;
|
||||
@@ -350,6 +352,7 @@ export interface WSExecutionV5 {
|
||||
underlyingPrice: string;
|
||||
blockTradeId: string;
|
||||
closedSize: string;
|
||||
extraFees: string;
|
||||
seq: number;
|
||||
marketUnit: string;
|
||||
}
|
||||
@@ -405,6 +408,10 @@ export interface WSWalletV5 {
|
||||
accountLTV: string;
|
||||
accountIMRate: string;
|
||||
accountMMRate: string;
|
||||
accountIMRateByMp: string;
|
||||
accountMMRateByMp: string;
|
||||
totalInitialMarginByMp: string;
|
||||
totalMaintenanceMarginByMp: string;
|
||||
totalEquity: string;
|
||||
totalWalletBalance: string;
|
||||
totalMarginBalance: string;
|
||||
@@ -473,6 +480,8 @@ export interface WSSpreadExecutionV5 {
|
||||
createType: OrderCreateTypeV5;
|
||||
orderType: OrderTypeV5;
|
||||
execFee: string;
|
||||
execFeeV2: string;
|
||||
feeCurrency: string;
|
||||
parentExecId: string;
|
||||
execId: string;
|
||||
execPrice: string;
|
||||
|
||||
Reference in New Issue
Block a user