UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

18 lines (17 loc) 560 B
import { BinanceClient } from '../../../clients'; import { usdtM } from '../../../info'; export interface LongShortRatioPayload { symbol: string; period: usdtM.InterestPeriod; limit?: number; startTime?: Date | number; endTime?: Date | number; } export interface LongShortRatioResponse { symbol: string; longShortRatio: number; longAccount: number; shortAccount: number; timestamp: Date; } export declare function longShortRatio(client: BinanceClient, payload: LongShortRatioPayload): Promise<LongShortRatioResponse[]>;