Skip to content

Commit

Permalink
[#hotfix] swap acx ticker's ask and bid value (coingecko#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swingcloud authored and tmlee committed Jan 18, 2018
1 parent fcb7154 commit f65e22d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cryptoexchange/exchanges/acx/services/market.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def adapt(output, market_pair)
ticker.base = market_pair.base
ticker.target = market_pair.target
ticker.market = Acx::Market::NAME
ticker.ask = NumericHelper.to_d(output['ticker']['buy'])
ticker.bid = NumericHelper.to_d(output['ticker']['sell'])
ticker.ask = NumericHelper.to_d(output['ticker']['sell'])
ticker.bid = NumericHelper.to_d(output['ticker']['buy'])
ticker.high = NumericHelper.to_d(output['ticker']['high'])
ticker.low = NumericHelper.to_d(output['ticker']['low'])
ticker.last = NumericHelper.to_d(output['ticker']['last'])
Expand Down

0 comments on commit f65e22d

Please sign in to comment.