Skip to content

Commit

Permalink
Merge pull request ccxt#3831 from auterium/patch-1
Browse files Browse the repository at this point in the history
Bitforex missing "side" property on trades
  • Loading branch information
kroitor authored Sep 12, 2018
2 parents 0fe0eeb + e5da77e commit b264541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bitforex.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ module.exports = class bitforex extends Exchange {
cost = amount * price;
}
}
let sideId = this.safeString (trade, 'direction');
let sideId = this.safeInteger (trade, 'direction');
let side = this.parseSide (sideId);
return {
'info': trade,
Expand Down

0 comments on commit b264541

Please sign in to comment.