import { CandleArray, IndexTickersArray, MarkPriceCandleArray, WsChannel } from './meta.js'; import { WsPublicChannelArgInstId } from './request.js'; export type PushChannel = `push-${WsChannel}`; export interface WsPushArg { channel: WsChannel; } export interface WsPush { arg: TArg; data: TData[]; } export type WsPushCandle = WsPush; export type WsPushIndexTickers = WsPush; export type WsPushMarkPriceTicker = WsPush; export interface PriceLimit { instId: string; /** * Maximum buy price */ buyLmt: string; /** * Minimum sell price */ sellLmt: string; /** * Price update time, Unix timestamp format in milliseconds, e.g. 1597026383085 */ ts: string; }