Comparing version 2.13.5 to 2.13.7
@@ -1,2 +0,2 @@ | ||
import { BooleanString, BooleanStringCapitalised, ExchangeFilter, KlineInterval, numberInString, OrderBookRow, OrderResponseType, OrderSide, OrderStatus, OrderTimeInForce, OrderType, RateLimiter, SymbolIcebergPartsFilter, SymbolLotSizeFilter, SymbolMarketLotSizeFilter, SymbolMaxIcebergOrdersFilter, SymbolMaxPositionFilter, SymbolPriceFilter } from './shared'; | ||
import { BooleanString, BooleanStringCapitalised, ExchangeFilter, KlineInterval, numberInString, OrderBookRow, OrderResponseType, OrderSide, OrderStatus, OrderTimeInForce, OrderType, RateLimiter, SymbolIcebergPartsFilter, SymbolLotSizeFilter, SymbolMarketLotSizeFilter, SymbolMaxIcebergOrdersFilter, SymbolMaxPositionFilter, SymbolPriceFilter, SelfTradePreventionMode } from './shared'; | ||
export type FuturesContractType = 'PERPETUAL' | 'CURRENT_MONTH' | 'NEXT_MONTH' | 'CURRENT_QUARTER' | 'NEXT_QUARTER'; | ||
@@ -62,2 +62,3 @@ export interface ContinuousContractKlinesParams { | ||
export type FuturesOrderType = 'LIMIT' | 'MARKET' | 'STOP' | 'STOP_MARKET' | 'TAKE_PROFIT' | 'TAKE_PROFIT_MARKET' | 'TRAILING_STOP_MARKET'; | ||
export type PriceMatchMode = 'NONE' | 'OPPONENT' | 'OPPONENT_5' | 'OPPONENT_10' | 'OPPONENT_20' | 'QUEUE' | 'QUEUE_5' | 'QUEUE_10' | 'QUEUE_20'; | ||
export interface NewFuturesOrderParams<numberType = number> { | ||
@@ -80,2 +81,4 @@ symbol: string; | ||
newOrderRespType?: OrderResponseType; | ||
selfTradePreventionMode?: SelfTradePreventionMode; | ||
priceMatch?: PriceMatchMode; | ||
} | ||
@@ -314,2 +317,4 @@ export interface ModifyFuturesOrderParams<numberType = number> { | ||
priceProtect: boolean; | ||
selfTradePreventionMode: SelfTradePreventionMode; | ||
priceMatch: PriceMatchMode; | ||
} | ||
@@ -344,2 +349,4 @@ export interface NewOrderError { | ||
priceProtect: boolean; | ||
selfTradePreventionMode: SelfTradePreventionMode; | ||
priceMatch: PriceMatchMode; | ||
} | ||
@@ -369,2 +376,4 @@ export interface ModifyFuturesOrderResult { | ||
updateTime: number; | ||
selfTradePreventionMode: SelfTradePreventionMode; | ||
priceMatch: PriceMatchMode; | ||
} | ||
@@ -394,2 +403,4 @@ export interface CancelFuturesOrderResult { | ||
priceProtect: boolean; | ||
selfTradePreventionMode: SelfTradePreventionMode; | ||
priceMatch: PriceMatchMode; | ||
} | ||
@@ -396,0 +407,0 @@ export interface CancelAllOpenOrdersResult { |
@@ -589,2 +589,5 @@ import { WsKey } from '../websocket-client'; | ||
ss: numberInString; | ||
V: string; | ||
pm: string; | ||
gtd: number; | ||
}; | ||
@@ -591,0 +594,0 @@ } |
@@ -233,2 +233,5 @@ export declare const BEAUTIFIER_EVENT_MAP: { | ||
rp: string; | ||
V: string; | ||
pm: string; | ||
gtd: string; | ||
}; | ||
@@ -235,0 +238,0 @@ ACCOUNT_CONFIG_UPDATEEvent: { |
@@ -265,2 +265,5 @@ "use strict"; | ||
rp: 'realisedProfit', | ||
V: 'selfTradePrevention', | ||
pm: 'priceMatch', | ||
gtd: 'goodTillDate', | ||
}, | ||
@@ -267,0 +270,0 @@ ACCOUNT_CONFIG_UPDATEEvent: { |
{ | ||
"name": "binance", | ||
"version": "2.13.5", | ||
"version": "2.13.7", | ||
"description": "Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -62,2 +62,3 @@ # Node.js & JavaScript SDK for Binance REST APIs & WebSockets | ||
- Questions about Binance APIs & WebSockets? Ask in the official [Binance API](https://t.me/binance_api_english) group on telegram. | ||
- Follow our announcement channel for real-time updates on [X/Twitter](https://x.com/QuantSDKs) | ||
@@ -64,0 +65,0 @@ <!-- template_related_projects --> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
696423
15301
417