UNPKG

kucoin-universal-sdk

Version:
114 lines (113 loc) 2.58 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetAllTickersTicker implements Serializable { /** * Symbol */ symbol: string; /** * Name of trading pairs, it will change after renaming */ symbolName: string; /** * Best bid price */ buy: string; /** * Best bid size */ bestBidSize: string; /** * Best ask price */ sell: string; /** * Best ask size */ bestAskSize: string; /** * 24h change rate */ changeRate: string; /** * 24h change price */ changePrice: string; /** * Highest price in 24h */ high: string; /** * Lowest price in 24h */ low: string; /** * 24h volume, executed based on base currency */ vol: string; /** * 24h traded amount */ volValue: string; /** * Last traded price */ last: string; /** * Average trading price in the last 24 hours */ averagePrice: string; /** * Basic Taker Fee */ takerFeeRate: string; /** * Basic Maker Fee */ makerFeeRate: string; /** * The taker fee coefficient. The actual fee needs to be multiplied by this coefficient to get the final fee. Most currencies have a coefficient of 1. If set to 0, it means no fee */ takerCoefficient: GetAllTickersTicker.TakerCoefficientEnum; /** * The maker fee coefficient. The actual fee needs to be multiplied by this coefficient to get the final fee. Most currencies have a coefficient of 1. If set to 0, it means no fee */ makerCoefficient: GetAllTickersTicker.MakerCoefficientEnum; /** * 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): GetAllTickersTicker; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetAllTickersTicker; } export declare namespace GetAllTickersTicker { enum TakerCoefficientEnum { /** * The taker fee coefficient is 1 */ _1, /** * No fee */ _0 } enum MakerCoefficientEnum { /** * The maker fee coefficient is 1 */ _1, /** * No fee */ _0 } }