bybit-api-gnome
Version:
Forked for Lick Hunter, Complete & robust node.js SDK for Bybit's REST APIs and WebSockets v5, with TypeScript & integration tests.
35 lines (34 loc) • 821 B
TypeScript
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;
}