UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

19 lines (18 loc) 662 B
import { BinanceKeyClient } from '../../../clients'; import { coinM } from '../../../info'; export interface OpenInterestStatisticsPayload { pair: string; contractType: coinM.ContractType; period: coinM.InterestPeriod; limit?: number; startTime?: Date | number; endTime?: Date | number; } export interface OpenInterestStatisticsResponse { pair: string; contractType: coinM.ContractType; sumOpenInterest: number; sumOpenInterestValue: number; timestamp: Date; } export declare function openInterestStatistics(client: BinanceKeyClient, payload: OpenInterestStatisticsPayload): Promise<OpenInterestStatisticsResponse[]>;