@exchanges/binance
Version:
Exchange provider for Binance API
17 lines (16 loc) • 584 B
TypeScript
import { BinanceClient } from '../../../clients';
import { usdtM } from '../../../info';
export interface OpenInterestStatisticsPayload {
symbol: string;
period: usdtM.InterestPeriod;
limit?: number;
startTime?: Date | number;
endTime?: Date | number;
}
export interface OpenInterestStatisticsResponse {
symbol: string;
sumOpenInterest: number;
sumOpenInterestValue: number;
timestamp: Date;
}
export declare function openInterestStatistics(client: BinanceClient, payload: OpenInterestStatisticsPayload): Promise<OpenInterestStatisticsResponse[]>;