UNPKG

kucoin-universal-sdk

Version:
76 lines (75 loc) 1.64 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetAllTickersData implements Serializable { /** * Sequence number, used to judge whether the messages pushed by Websocket are continuous. */ sequence: number; /** * Symbol */ symbol: string; /** * Trade direction */ side: GetAllTickersData.SideEnum; /** * 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. */ size: number; /** * Transaction ID */ tradeId: string; /** * Filled price */ price: string; /** * Best bid price */ bestBidPrice: string; /** * Best bid size */ bestBidSize: number; /** * Best ask price */ bestAskPrice: string; /** * Best ask size */ bestAskSize: number; /** * Filled time (nanoseconds) */ ts: 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): GetAllTickersData; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetAllTickersData; } export declare namespace GetAllTickersData { enum SideEnum { /** * */ BUY, /** * */ SELL } }