Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
relay trade amount at poloniex, fix #325
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jun 12, 2016
1 parent b3f58ce commit 568a7d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exchanges/poloniex.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@ Trader.prototype.getTrades = function(since, callback, descending) {

result = _.map(result, function(trade) {
return {
tid: trade.tradeID,
amount: +trade.amount,
date: moment.utc(trade.date).format('X'),
price: trade.rate,
tid: trade.tradeID
price: +trade.rate
};
});

Expand Down

0 comments on commit 568a7d9

Please sign in to comment.