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

[#hotfix] Novaexchange volume is in target, need to divide to be in base #73

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def adapt(output, market_pair)
ticker.ask = NumericHelper.to_d(market['ask'])
ticker.high = NumericHelper.to_d(market['high24h'])
ticker.low = NumericHelper.to_d(market['low24h'])
ticker.volume = NumericHelper.to_d(market['volume24h'])
ticker.volume = NumericHelper.to_d(market['volume24h']) / ticker.last
ticker.timestamp = Time.now.to_i
ticker.payload = market
ticker
Expand Down