Comparing version 2.8.8 to 2.8.9
@@ -267,2 +267,8 @@ import { BooleanString, BooleanStringCapitalised, ExchangeFilter, KlineInterval, numberInString, OrderBookRow, OrderResponseType, OrderSide, OrderStatus, OrderTimeInForce, OrderType, RateLimiter, SymbolIcebergPartsFilter, SymbolLotSizeFilter, SymbolMarketLotSizeFilter, SymbolMaxIcebergOrdersFilter, SymbolMaxPositionFilter, SymbolPriceFilter } from './shared'; | ||
} | ||
export interface HistoricOpenInterest { | ||
symbol: string; | ||
sumOpenInterest: string; | ||
sumOpenInterestValue: string; | ||
timestamp: number; | ||
} | ||
export interface PositionModeParams { | ||
@@ -269,0 +275,0 @@ dualSidePosition: DualSideMode; |
import { AxiosRequestConfig } from 'axios'; | ||
import { BasicSymbolPaginatedParams, BasicSymbolParam, GetOrderParams, OrderBookParams, HistoricalTradesParams, KlinesParams, Kline, RecentTradesParams, CancelOrderParams, SymbolFromPaginatedRequestFromId, GetAllOrdersParams, GenericCodeMsgError, SymbolPrice } from './types/shared'; | ||
import { ContinuousContractKlinesParams, IndexPriceKlinesParams, SymbolKlinePaginatedParams, FuturesDataPaginatedParams, MultiAssetsMode, NewFuturesOrderParams, CancelMultipleOrdersParams, CancelOrdersTimeoutParams, SetLeverageParams, SetMarginTypeParams, SetIsolatedMarginParams, GetPositionMarginChangeHistoryParams, GetIncomeHistoryParams, GetForceOrdersParams, FuturesExchangeInfo, FuturesOrderBook, RawFuturesTrade, AggregateFuturesTrade, FundingRateHistory, FuturesSymbolOrderBookTicker, OpenInterest, ModeChangeResult, PositionModeParams, PositionModeResponse, MultiAssetModeResponse, NewOrderResult, NewOrderError, OrderResult, CancelFuturesOrderResult, CancelAllOpenOrdersResult, FuturesAccountBalance, FuturesAccountInformation, SetLeverageResult, SetIsolatedMarginResult, FuturesPosition, FuturesPositionTrade, ForceOrderResult, SymbolLeverageBracketsResult, IncomeHistory, RebateDataOverview, SetCancelTimeoutResult, ChangeStats24hr, MarkPrice } from './types/futures'; | ||
import { ContinuousContractKlinesParams, IndexPriceKlinesParams, SymbolKlinePaginatedParams, FuturesDataPaginatedParams, MultiAssetsMode, NewFuturesOrderParams, CancelMultipleOrdersParams, CancelOrdersTimeoutParams, SetLeverageParams, SetMarginTypeParams, SetIsolatedMarginParams, GetPositionMarginChangeHistoryParams, GetIncomeHistoryParams, GetForceOrdersParams, FuturesExchangeInfo, FuturesOrderBook, RawFuturesTrade, AggregateFuturesTrade, FundingRateHistory, FuturesSymbolOrderBookTicker, OpenInterest, ModeChangeResult, PositionModeParams, PositionModeResponse, MultiAssetModeResponse, NewOrderResult, NewOrderError, OrderResult, CancelFuturesOrderResult, CancelAllOpenOrdersResult, FuturesAccountBalance, FuturesAccountInformation, SetLeverageResult, SetIsolatedMarginResult, FuturesPosition, FuturesPositionTrade, ForceOrderResult, SymbolLeverageBracketsResult, IncomeHistory, RebateDataOverview, SetCancelTimeoutResult, ChangeStats24hr, MarkPrice, HistoricOpenInterest } from './types/futures'; | ||
import { RestClientOptions } from './util/requestUtils'; | ||
@@ -43,3 +43,3 @@ import BaseRestClient from './util/BaseRestClient'; | ||
getOpenInterest(params: BasicSymbolParam): Promise<OpenInterest>; | ||
getOpenInterestStatistics(params: FuturesDataPaginatedParams): Promise<any>; | ||
getOpenInterestStatistics(params: FuturesDataPaginatedParams): Promise<HistoricOpenInterest[]>; | ||
getTopTradersLongShortAccountRatio(params: FuturesDataPaginatedParams): Promise<any>; | ||
@@ -46,0 +46,0 @@ getTopTradersLongShortPositionRatio(params: FuturesDataPaginatedParams): Promise<any>; |
{ | ||
"name": "binance", | ||
"version": "2.8.8", | ||
"version": "2.8.9", | ||
"description": "Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
467996
8899