Skip to content

Commit

Permalink
ccxt api change also need since parameter to be 'undefined' for binan…
Browse files Browse the repository at this point in the history
…ce (DeviaVir#1268)

Also the since argument must be type of undefined see: https://github.com/ccxt/ccxt/blob/master/js/binance.js#L747
  • Loading branch information
Haehnchen authored and Heerpa committed Feb 4, 2018
1 parent f1c6942 commit 3c10274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/exchanges/binance/exchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = function container (get, set, clear) {
}

var client = publicClient()
client.fetchTrades(joinProduct(opts.product_id), '',undefined, args).then(result => {
client.fetchTrades(joinProduct(opts.product_id), undefined, undefined, args).then(result => {
var trades = result.map(function (trade) {
return {
trade_id: trade.id,
Expand Down

0 comments on commit 3c10274

Please sign in to comment.