kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
68 lines (67 loc) • 1.48 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetTradeHistoryData implements Serializable {
/**
* Sequence number
*/
sequence: number;
/**
* Deprecated param
*/
contractId: number;
/**
* Transaction ID
*/
tradeId: string;
/**
* Maker order ID
*/
makerOrderId: string;
/**
* Taker order ID
*/
takerOrderId: string;
/**
* Filled timestamp (nanosecond)
*/
ts: number;
/**
* Filled amount
*/
size: number;
/**
* Filled price
*/
price: string;
/**
* Filled side; the trade side indicates the taker order side. A taker order is the order that was matched with orders opened on the order book.
*/
side: GetTradeHistoryData.SideEnum;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetTradeHistoryData;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetTradeHistoryData;
}
export declare namespace GetTradeHistoryData {
enum SideEnum {
/**
* buy
*/
BUY,
/**
* sell
*/
SELL
}
}