Skip to content

Commit

Permalink
added bitz parseOrder numberover = remaining fix #2971
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 28, 2018
1 parent 393717e commit 9c363e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/bitz.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ module.exports = class bitz extends Exchange {
side = this.safeString (order, 'flag');
}
let amount = this.safeFloat (order, 'number');
let filled = this.safeFloat (order, 'numberover');
let remaining = undefined;
let remaining = this.safeFloat (order, 'numberover');
let filled = undefined;
if (typeof amount !== 'undefined')
if (typeof filled !== 'undefined')
remaining = amount - filled;
if (typeof remaining !== 'undefined')
filled = amount - remaining;
let timestamp = undefined;
let iso8601 = undefined;
if ('datetime' in order) {
Expand Down

0 comments on commit 9c363e1

Please sign in to comment.