From cdf4fd5e97cd22eed7184182bc7e1b625ce2fbc3 Mon Sep 17 00:00:00 2001 From: aquamanjl <35556329+aquamanjl@users.noreply.github.com> Date: Thu, 1 Feb 2018 06:19:31 -0500 Subject: [PATCH] Fix for 400 bad request from Binance, CCXT lib update forced this change (release 1.10.817) (#1256) --- extensions/exchanges/binance/exchange.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/exchanges/binance/exchange.js b/extensions/exchanges/binance/exchange.js index 204dd8a8d9..80d22a60f6 100644 --- a/extensions/exchanges/binance/exchange.js +++ b/extensions/exchanges/binance/exchange.js @@ -79,7 +79,7 @@ module.exports = function container (get, set, clear) { } var client = publicClient() - client.fetchTrades(joinProduct(opts.product_id), '','', args).then(result => { + client.fetchTrades(joinProduct(opts.product_id), '',undefined, args).then(result => { var trades = result.map(function (trade) { return { trade_id: trade.id,