UNPKG

kucoin-universal-sdk

Version:
90 lines (89 loc) 2.13 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class Get24hrStatsResp implements Response<RestResponse> { /** * timestamp */ time: number; /** * Symbol */ symbol: string; /** * Best bid price */ buy: string; /** * Best ask price */ sell: 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: string; /** * 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: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * common response */ commonResponse?: RestResponse; setCommonResponse(response: RestResponse): void; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): Get24hrStatsResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): Get24hrStatsResp; }