Skip to content

Commit

Permalink
Add bitfinex price_precision
Browse files Browse the repository at this point in the history
  • Loading branch information
aking7 committed Oct 22, 2017
1 parent 50acbec commit 34558e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -3900,6 +3900,9 @@ var bitfinex = {
if (base == 'DSH')
base = 'DASH';
let symbol = base + '/' + quote;
let precision = {
'price': market['price_precision'],
};
result.push ({
'id': id,
'symbol': symbol,
Expand All @@ -3908,6 +3911,7 @@ var bitfinex = {
'baseId': baseId,
'quoteId': quoteId,
'info': market,
'precision': precision,
});
}
return result;
Expand Down

0 comments on commit 34558e6

Please sign in to comment.