UNPKG

bitget-api

Version:

Complete Node.js & JavaScript SDK for Bitget V1-V3 REST APIs & WebSockets, with TypeScript & end-to-end tests.

24 lines (23 loc) 773 B
/** Pagination */ export interface Pagination { /** Time after */ after?: string; /** Time before */ before?: string; /** Elements per page */ limit?: string; } export type OrderTimeInForce = 'normal' | 'post_only' | 'fok' | 'ioc'; export interface GetHistoricTradesParams { symbol: string; limit?: string; tradeId?: string; startTime?: string; endTime?: string; } /** * The margin type, used directly in building the endpoint URL */ export type MarginType = 'crossed' | 'isolated'; export type FuturesProductTypeV2 = 'USDT-FUTURES' | 'COIN-FUTURES' | 'USDC-FUTURES' | 'SUSDT-FUTURES' | 'SCOIN-FUTURES' | 'SUSDC-FUTURES'; export type FuturesPlanTypeV2 = 'profit_plan' | 'loss_plan' | 'moving_plan' | 'pos_profit' | 'pos_loss';