@exchanges/binance
Version:
Exchange provider for Binance API
20 lines (19 loc) • 1.29 kB
TypeScript
export declare type SymbolType = 'FUTURE';
export declare type ContractType = 'PERPETUAL' | 'CURRENT_MONTH' | 'NEXT_MONTH' | 'CURRENT_QUARTER' | 'NEXT_QUARTER';
export declare type ContractStatusType = 'PENDING_TRADING' | 'TRADING' | 'PRE_DELIVERING' | 'DELIVERING' | 'DELIVERED' | 'PRE_SETTLE' | 'SETTLING' | 'CLOSE';
export declare type OrderStatus = 'NEW' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELED' | 'REJECTED' | 'EXPIRED';
export declare type OrderType = 'LIMIT' | 'MARKET' | 'STOP' | 'STOP_MARKET' | 'TAKE_PROFIT' | 'TAKE_PROFIT_MARKET' | 'TRAILING_STOP_MARKET';
export declare type OrderSide = 'BUY' | 'SELL';
export declare type PositionSide = 'BOTH' | 'LONG' | 'SHORT';
export declare type TimeInForce = 'GTC' | 'IOC' | 'FOK' | 'GTX';
export declare type WorkingType = 'MARK_PRICE' | 'CONTRACT_PRICE';
export declare type ResponseType = 'ACK' | 'RESULT';
export declare type KlineCandlestickChartIntervals = '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M';
export declare type RateLimiters = 'REQUEST_WEIGHT' | 'ORDERS';
export declare type RateLimitIntervals = 'MINUTE';
export interface RateLimitType {
rateLimitType: RateLimiters;
interval: RateLimitIntervals;
intervalNum: number;
limit: number;
}