From 421c5474d0dabbebb87dc1818c5f6e72802c3d7d Mon Sep 17 00:00:00 2001 From: Dario Arrieta Date: Sun, 21 May 2023 10:46:37 -0500 Subject: [PATCH 1/3] Fix Symbol Interface --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 65f7d8f7..728284a0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1069,6 +1069,8 @@ declare module 'binance-api-node' { ocoAllowed: boolean orderTypes: T[] permissions: TradingType_LT[] + pricePrecision:number, + quantityPrecision:number quoteAsset: string quoteAssetPrecision: number quoteCommissionPrecision: number From 8e7e0307767c4c152e9ea9e5f0bc061fbce54986 Mon Sep 17 00:00:00 2001 From: Dario Arrieta Date: Wed, 7 Jun 2023 10:40:12 -0500 Subject: [PATCH 2/3] Fix interface for futuresUserTrades --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 728284a0..e172ec4a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -624,7 +624,7 @@ declare module 'binance-api-node' { }): Promise futuresTrades(options: { symbol: string; limit?: number }): Promise futuresUserTrades(options: { - symbol: string + symbol?: string startTime?: number endTime?: number fromId?: number From 2ccba54b02b08d8f0ea322c60bbf7a820fc5619d Mon Sep 17 00:00:00 2001 From: Dario Arrieta Date: Wed, 27 Sep 2023 08:06:28 -0500 Subject: [PATCH 3/3] add quantity type to TrailingStopMarketNewFuturesOrder --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index e172ec4a..ea153200 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1163,6 +1163,8 @@ declare module 'binance-api-node' { export interface TrailingStopMarketNewFuturesOrder extends NewFuturesOrderBase { type: 'TRAILING_STOP_MARKET' + + quantity?:string // default as the latest price(supporting different workingType) activationPrice?: string // min 0.1, max 5 where 1 for 1%