@exchanges/binance
Version:
Exchange provider for Binance API
18 lines (17 loc) • 565 B
TypeScript
import { BinanceClient } from '../../../clients';
export interface IndexPriceAndMarkPricePayload {
symbol?: string;
pair?: string;
}
export interface IndexPriceAndMarkPriceResponse {
symbol: string;
pair: string;
markPrice: number;
indexPrice: number;
estimatedSettlePrice: number;
lastFundingRate: number;
interestRate: number;
nextFundingTime: Date;
time: Date;
}
export declare function indexPriceAndMarkPrice(client: BinanceClient, payload?: IndexPriceAndMarkPricePayload): Promise<IndexPriceAndMarkPriceResponse[]>;