@exchanges/binance
Version:
Exchange provider for Binance API
18 lines (17 loc) • 562 B
TypeScript
import { BinanceKeyClient } from '../../../clients';
import { coinM } from '../../../info';
export interface LongShortRatioPayload {
pair: string;
period: coinM.InterestPeriod;
limit?: number;
startTime?: Date | number;
endTime?: Date | number;
}
export interface LongShortRatioResponse {
pair: string;
longShortRatio: number;
longAccount: number;
shortAccount: number;
timestamp: Date;
}
export declare function longShortRatio(client: BinanceKeyClient, payload: LongShortRatioPayload): Promise<LongShortRatioResponse[]>;