cryptoexchange 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8b82d435378c2147816ddcb2c98b9d0bef47c94
4
- data.tar.gz: df84b71e73d7d7b72e473c605693268541409760
3
+ metadata.gz: 676fe2d5dfa611487a5eee294b6c0c2d37e2f378
4
+ data.tar.gz: f204c06cfd0673215b056bc0a5f32177d1d3eb8d
5
5
  SHA512:
6
- metadata.gz: a7703bf3e8ba0ff60992d66f4c1c6828f973b12125b9d67be3a540d56def33cf6edff930c46f54e576ed9ad815bf69326d4818a4c324c1eccc1df63078426f26
7
- data.tar.gz: 28381b20e20ff35b732c05a78140633ff88513b23f82a93c64c64bc30036241b7a6e0e867ecd65fd4a3741227ca36baa9ba64394907622a9f3524308e5f7227c
6
+ metadata.gz: 625b2d4991295688683c57d95fe078de579d8ff6869d94c7dbaded101497537cf6535f92025d0191d4afa68dfea3ca9209c05c2007e08ed1d89e53383f09c9ab
7
+ data.tar.gz: a7aca272c524e8934be400fe3e9649c3ac1e7dd9995923582e34d8965f13434db9fc79ec64d21c3c27df2573ae7ca11ae2ac748a85649caf4c70c18f70547c5e
@@ -34,7 +34,7 @@ module Cryptoexchange::Exchanges
34
34
  ticker.target = market_pair.target
35
35
  ticker.market = Qryptos::Market::NAME
36
36
  #use last price 24h
37
- ticker.last = NumericHelper.to_d(output['last_price_24h'])
37
+ ticker.last = NumericHelper.to_d(output['last_traded_price'])
38
38
  ticker.bid = NumericHelper.to_d(output['market_bid'])
39
39
  ticker.ask = NumericHelper.to_d(output['market_ask'])
40
40
  ticker.high = NumericHelper.to_d(output['high_market_ask'])
@@ -34,7 +34,7 @@ module Cryptoexchange::Exchanges
34
34
  ticker.target = market_pair.target
35
35
  ticker.market = Quoine::Market::NAME
36
36
  #use last price 24h
37
- ticker.last = NumericHelper.to_d(output['last_price_24h'])
37
+ ticker.last = NumericHelper.to_d(output['last_traded_price'])
38
38
  ticker.bid = NumericHelper.to_d(output['market_bid'])
39
39
  ticker.ask = NumericHelper.to_d(output['market_ask'])
40
40
  ticker.high = NumericHelper.to_d(output['high_market_ask'])
@@ -1,3 +1,3 @@
1
1
  module Cryptoexchange
2
- VERSION = "0.16.0"
2
+ VERSION = "0.16.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptoexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TM Lee