fix additional encoding issue for cursor with equals symbol. Add contract client return type. Add additional cursor e2e test.
This commit is contained in:
35
src/types/response/contract.ts
Normal file
35
src/types/response/contract.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
export interface PaginatedResult<TList = any> {
|
||||
nextPageCursor: string;
|
||||
list: TList[];
|
||||
}
|
||||
|
||||
export interface ContractHistoricOrder {
|
||||
symbol: string;
|
||||
side: string;
|
||||
orderType: string;
|
||||
price: string;
|
||||
qty: string;
|
||||
reduceOnly: boolean;
|
||||
timeInForce: string;
|
||||
orderStatus: string;
|
||||
leavesQty: string;
|
||||
leavesValue: string;
|
||||
cumExecQty: string;
|
||||
cumExecValue: string;
|
||||
cumExecFee: string;
|
||||
lastPriceOnCreated: string;
|
||||
rejectReason: string;
|
||||
orderLinkId: string;
|
||||
createdTime: string;
|
||||
updatedTime: string;
|
||||
orderId: string;
|
||||
stopOrderType: string;
|
||||
takeProfit: string;
|
||||
stopLoss: string;
|
||||
tpTriggerBy: string;
|
||||
slTriggerBy: string;
|
||||
triggerPrice: string;
|
||||
closeOnTrigger: boolean;
|
||||
triggerDirection: number;
|
||||
positionIdx: number;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from './contract';
|
||||
export * from './shared';
|
||||
export * from './spot';
|
||||
export * from './usdt-perp';
|
||||
|
||||
Reference in New Issue
Block a user