kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
52 lines (51 loc) • 1.23 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetTradeHistoryData implements Serializable {
/**
* Sequence number
*/
sequence: string;
/**
* Filled price
*/
price: string;
/**
* Filled amount
*/
size: 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;
/**
* Filled timestamp(nanosecond)
*/
time: number;
/**
* 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
}
}