Skip to content

Commit

Permalink
[GB] catch Kraken zero trailing price, fix askmike#2560
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Sep 23, 2018
1 parent b60f2fd commit 8b3e696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/wrappers/kraken.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Trader.prototype.handleResponse = function(funcName, callback, nonMutating, payl
}

// string vs float
if(o.descr.price != price) {
if(+o.descr.price != price) {
return false;
}

Expand Down

0 comments on commit 8b3e696

Please sign in to comment.