cryptoexchange 0.10.2 → 0.10.3

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: 4e723deba9b36bead7e75fb8cc9c8c3cc17f095b
4
- data.tar.gz: 236767ed853c1cb6ce7bd3eb1339157b635685b6
3
+ metadata.gz: 622378716455966ef16315dd8e0db36a37b753e9
4
+ data.tar.gz: a3a95c9575f3a6c75f73fbd91a31be577e6a012b
5
5
  SHA512:
6
- metadata.gz: d2306a293f5d65551859f2a46b4f4491369f72cce39ab2e14e7b3af70a9e3aa9d47a42dd6a00b3f967b0f24b70c0c76cd32fcd04c5223920e79c9f85e29e20c2
7
- data.tar.gz: 9584e455b767c04226817a234c4e47c84036df3f069d685ce594be92ec0fa9c0718b3999969d654d47208d313cdc5ae04c4f9d8e70ffa0625cc47fcf9b7682d2
6
+ metadata.gz: ee05e45677b9de4a2a9c2143ace02ce9eb9f8efbfcffd0b694c19bc2c1a6414a24e5995030aa1fc3a5bf7ddd56fb3b361c3a1dfcb8ced64c023b6219224934c7
7
+ data.tar.gz: 23c34e2110a7e6d05b0fdecff54eb389e4ce37cd1f84499f09e236c7444d595bcccbfc644ab7f8304cc01e3f4ba49d9c62b256ae844b57f4ccb8c62116aa3d7c
data/README.md CHANGED
@@ -25,56 +25,56 @@ Or install it yourself as:
25
25
  | Exchange | Ticker | Order Book | Trade | Account | Market List |
26
26
  | ----------------- | ------- | ---------- | ------- | ------- | ----------- |
27
27
  | ANX | Y | | | | User-Defined|
28
- | Gatecoin | Y | | | | Y |
28
+ | Binance | | | | | |
29
+ | Bitbay | Y | | | | User-Defined|
30
+ | Bitcoin Indonesia | Y | | | | User-Defined|
31
+ | Bitfinex | Y | | | | Y |
32
+ | Bitflyer | Y | | | | Y |
33
+ | Bithumb | Y | | | | User-Defined|
29
34
  | Bitso | Y | | | | Y |
30
- | BTCC | Y | | | | User-Defined|
31
- | OKCoin | Y | | | | User-Defined|
32
- | LakeBTC | Y | | | | Y |
33
- | Huobi | Y | | | | Y |
34
- | Yunbi | Y | | | | Y |
35
- | Yuanbao | Y | | | | User-Defined|
36
- | BTC38 | | | | | |
37
- | CHBTC | Y | | | | User-Defined|
38
35
  | Bitstamp | Y | | | | User-Defined|
39
36
  | Bittrex | Y | | | | Y |
40
- | GDAX | Y | | | | Y |
41
- | Gemini | Y | | | | Y |
42
- | Poloniex | Y | | | | Y |
43
- | Kraken | Y | | | | Y |
44
- | Coincheck | Y | | | | User-Defined|
45
- | Bitflyer | Y | | | | Y |
46
- | Quoine | Y | | | | Y |
47
- | QuadrigaCX | Y | | | | User-Defined|
48
- | Unocoin | | | | | |
49
- | Coinone | Y | | | | Y |
50
- | Korbit | Y | | | | User-Defined|
51
- | Bithumb | Y | | | | User-Defined|
52
- | Luno | | | | | |
53
- | BTC-e | | | | | |
54
37
  | Bleutrade | Y | | | | Y |
55
- | Yobit | Y | | | | Y |
56
- | Bitfinex | Y | | | | Y |
38
+ | BTC-e | | | | | |
39
+ | BTC38 | | | | | |
40
+ | BTCC | Y | | | | User-Defined|
41
+ | BTCChina | | | | | |
57
42
  | BTER | Y | | | | Y |
58
- | Cryptopia | Y | | | | Y |
59
- | Livecoin | Y | | | | Y |
60
- | Nova Exchange | Y | | | | Y |
61
- | Bitcoin Indonesia | Y | | | | User-Defined|
62
- | Liqui | Y | | | | Y |
63
- | HitBTC | Y | | | | Y |
43
+ | BX Thailand | Y | | | | Y |
64
44
  | CCex | Y | | | | Y |
45
+ | CHBTC | Y | | | | User-Defined|
46
+ | Coincheck | Y | | | | User-Defined|
65
47
  | CoinExchange | Y | | | | Y |
66
- | EtherDelta | Y | | | | Y |
67
- | BTCChina | | | | | |
68
48
  | Coinmate | | | | | |
49
+ | Coinone | Y | | | | Y |
50
+ | Cryptopia | Y | | | | Y |
51
+ | EtherDelta | Y | | | | Y |
52
+ | Gatecoin | Y | | | | Y |
53
+ | GDAX | Y | | | | Y |
54
+ | Gemini | Y | | | | Y |
55
+ | HitBTC | Y | | | | Y |
56
+ | Huobi | Y | | | | Y |
69
57
  | Itbit | | | | | |
70
58
  | Jubi | Y | | | | Y |
59
+ | Korbit | Y | | | | User-Defined|
60
+ | Kraken | Y | | | | Y |
61
+ | LakeBTC | Y | | | | Y |
62
+ | Liqui | Y | | | | Y |
63
+ | Livecoin | Y | | | | Y |
64
+ | Luno | | | | | |
71
65
  | MercadoBitcoin | Y | | | | User-Defined|
72
- | Viabtc | Y | | | | User-Defined|
73
- | Tidex | Y | | | | Y |
74
- | Bitbay | Y | | | | User-Defined|
66
+ | Nova Exchange | Y | | | | Y |
67
+ | OKCoin | Y | | | | User-Defined|
68
+ | Poloniex | Y | | | | Y |
69
+ | QuadrigaCX | Y | | | | User-Defined|
70
+ | Quoine | Y | | | | Y |
75
71
  | SZZC | Y | | | | Y |
76
- | BX Thailand | Y | | | | Y |
77
- | Binance | | | | | |
72
+ | Tidex | Y | | | | Y |
73
+ | Unocoin | | | | | |
74
+ | Viabtc | Y | | | | User-Defined|
75
+ | Yobit | Y | | | | Y |
76
+ | Yuanbao | Y | | | | User-Defined|
77
+ | Yunbi | Y | | | | Y |
78
78
 
79
79
  ## Usage
80
80
 
@@ -122,7 +122,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
122
122
 
123
123
  ## Contributing
124
124
 
125
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cryptoexchange. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
125
+ Bug reports and pull requests are welcome on GitHub at https://github.com/coingecko/cryptoexchange. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
126
126
 
127
127
  ## License
128
128
 
@@ -37,7 +37,7 @@ module Cryptoexchange::Exchanges
37
37
  ticker.ask = NumericHelper.to_d(market['lastsell'])
38
38
  ticker.high = NumericHelper.to_d(market['high'])
39
39
  ticker.low = NumericHelper.to_d(market['low'])
40
- ticker.volume = NumericHelper.to_d(volume)
40
+ ticker.volume = NumericHelper.to_d(volume)/ticker.last
41
41
  ticker.timestamp = DateTime.now.to_time.to_i
42
42
  ticker.payload = market
43
43
  ticker
@@ -1,3 +1,3 @@
1
1
  module Cryptoexchange
2
- VERSION = "0.10.2"
2
+ VERSION = "0.10.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptoexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TM Lee
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler