feat(v4.1.9): new ws topic, updated response and request types
This commit is contained in:
@@ -123,6 +123,7 @@ export interface GetDeliveryPriceParamsV5 {
|
||||
category: 'linear' | 'inverse' | 'option';
|
||||
symbol?: string;
|
||||
baseCoin?: string;
|
||||
settleCoin?: string;
|
||||
limit?: number;
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
@@ -110,6 +110,7 @@ export interface ExecutionV5 {
|
||||
blockTradeId?: string;
|
||||
closedSize?: string;
|
||||
seq: number;
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
export interface ClosedPnLV5 {
|
||||
|
||||
@@ -18,6 +18,7 @@ export interface PreUpgradeTransaction {
|
||||
tradeId: string;
|
||||
orderId: string;
|
||||
orderLinkId: string;
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
export interface PreUpgradeOptionsDelivery {
|
||||
|
||||
@@ -68,6 +68,7 @@ export interface AccountOrderV5 {
|
||||
smpOrderId: string;
|
||||
createdTime: string;
|
||||
updatedTime: string;
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
export interface BatchCreateOrderResultV5 {
|
||||
|
||||
@@ -449,3 +449,16 @@ export type WSSpreadExecutionEventV5 = WSPrivateTopicEventV5<
|
||||
'spread.execution',
|
||||
WSSpreadExecutionV5[]
|
||||
>;
|
||||
|
||||
export interface WSInsuranceV5 {
|
||||
coin: string;
|
||||
symbols: string;
|
||||
balance: string;
|
||||
updateTime: string;
|
||||
}
|
||||
|
||||
export type WSInsuranceEventV5 = WSPublicTopicEventV5<
|
||||
'insurance.USDT' | 'insurance.USDC' | 'insurance.inverse',
|
||||
'snapshot' | 'delta',
|
||||
WSInsuranceV5[]
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user