cryptoexchange 0.3.4 → 0.4.0

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.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/cryptoexchange/exchanges/anx/services/market.rb +1 -1
  4. data/lib/cryptoexchange/exchanges/anx/services/pairs.rb +1 -1
  5. data/lib/cryptoexchange/exchanges/bitcoin_indonesia/services/market.rb +1 -1
  6. data/lib/cryptoexchange/exchanges/bitcoin_indonesia/services/pairs.rb +1 -1
  7. data/lib/cryptoexchange/exchanges/bitfinex/market.rb +8 -0
  8. data/lib/cryptoexchange/exchanges/bitfinex/services/market.rb +38 -0
  9. data/lib/cryptoexchange/exchanges/bitfinex/services/pairs.rb +27 -0
  10. data/lib/cryptoexchange/exchanges/bitflyer/services/market.rb +1 -1
  11. data/lib/cryptoexchange/exchanges/bitflyer/services/pairs.rb +1 -1
  12. data/lib/cryptoexchange/exchanges/bithumb/services/market.rb +1 -1
  13. data/lib/cryptoexchange/exchanges/bithumb/services/pairs.rb +1 -1
  14. data/lib/cryptoexchange/exchanges/bitstamp/services/market.rb +1 -1
  15. data/lib/cryptoexchange/exchanges/bitstamp/services/pairs.rb +1 -1
  16. data/lib/cryptoexchange/exchanges/bittrex/services/market.rb +1 -1
  17. data/lib/cryptoexchange/exchanges/bittrex/services/pairs.rb +1 -1
  18. data/lib/cryptoexchange/exchanges/bleutrade/services/market.rb +2 -2
  19. data/lib/cryptoexchange/exchanges/bleutrade/services/pairs.rb +1 -1
  20. data/lib/cryptoexchange/exchanges/btcc/services/market.rb +1 -1
  21. data/lib/cryptoexchange/exchanges/btcc/services/pairs.rb +1 -1
  22. data/lib/cryptoexchange/exchanges/bter/services/market.rb +1 -1
  23. data/lib/cryptoexchange/exchanges/bter/services/pairs.rb +1 -1
  24. data/lib/cryptoexchange/exchanges/ccex/services/market.rb +1 -1
  25. data/lib/cryptoexchange/exchanges/ccex/services/pairs.rb +1 -1
  26. data/lib/cryptoexchange/exchanges/coin_exchange/services/market.rb +1 -1
  27. data/lib/cryptoexchange/exchanges/coin_exchange/services/pairs.rb +1 -1
  28. data/lib/cryptoexchange/exchanges/coincheck/services/market.rb +1 -1
  29. data/lib/cryptoexchange/exchanges/coincheck/services/pairs.rb +1 -1
  30. data/lib/cryptoexchange/exchanges/coinone/services/market.rb +1 -1
  31. data/lib/cryptoexchange/exchanges/coinone/services/pairs.rb +1 -1
  32. data/lib/cryptoexchange/exchanges/cryptopia/services/market.rb +1 -1
  33. data/lib/cryptoexchange/exchanges/cryptopia/services/pairs.rb +1 -1
  34. data/lib/cryptoexchange/exchanges/ether_delta/services/market.rb +1 -1
  35. data/lib/cryptoexchange/exchanges/ether_delta/services/pairs.rb +1 -1
  36. data/lib/cryptoexchange/exchanges/gatecoin/services/market.rb +2 -2
  37. data/lib/cryptoexchange/exchanges/gatecoin/services/pairs.rb +1 -1
  38. data/lib/cryptoexchange/exchanges/gemini/services/market.rb +1 -1
  39. data/lib/cryptoexchange/exchanges/gemini/services/pairs.rb +1 -1
  40. data/lib/cryptoexchange/exchanges/hitbtc/services/market.rb +1 -1
  41. data/lib/cryptoexchange/exchanges/hitbtc/services/pairs.rb +1 -1
  42. data/lib/cryptoexchange/exchanges/korbit/services/market.rb +1 -1
  43. data/lib/cryptoexchange/exchanges/korbit/services/pairs.rb +1 -1
  44. data/lib/cryptoexchange/exchanges/kraken/market.rb +8 -0
  45. data/lib/cryptoexchange/exchanges/kraken/services/market.rb +46 -0
  46. data/lib/cryptoexchange/exchanges/kraken/services/pairs.rb +27 -0
  47. data/lib/cryptoexchange/exchanges/lakebtc/services/market.rb +1 -1
  48. data/lib/cryptoexchange/exchanges/lakebtc/services/pairs.rb +2 -2
  49. data/lib/cryptoexchange/exchanges/liqui/services/market.rb +1 -1
  50. data/lib/cryptoexchange/exchanges/liqui/services/pairs.rb +1 -1
  51. data/lib/cryptoexchange/exchanges/livecoin/services/market.rb +2 -2
  52. data/lib/cryptoexchange/exchanges/livecoin/services/pairs.rb +1 -1
  53. data/lib/cryptoexchange/exchanges/novaexchange/services/market.rb +1 -1
  54. data/lib/cryptoexchange/exchanges/novaexchange/services/pairs.rb +1 -1
  55. data/lib/cryptoexchange/exchanges/okcoin/services/market.rb +1 -1
  56. data/lib/cryptoexchange/exchanges/okcoin/services/pairs.rb +1 -1
  57. data/lib/cryptoexchange/exchanges/quoine/services/market.rb +2 -2
  58. data/lib/cryptoexchange/exchanges/quoine/services/pairs.rb +1 -1
  59. data/lib/cryptoexchange/version.rb +1 -1
  60. metadata +8 -52
  61. data/lib/cryptoexchange/exchanges/anx/models/market_pair.rb +0 -8
  62. data/lib/cryptoexchange/exchanges/anx/models/ticker.rb +0 -8
  63. data/lib/cryptoexchange/exchanges/bitcoin_indonesia/models/market_pair.rb +0 -8
  64. data/lib/cryptoexchange/exchanges/bitcoin_indonesia/models/ticker.rb +0 -8
  65. data/lib/cryptoexchange/exchanges/bitflyer/models/market_pair.rb +0 -8
  66. data/lib/cryptoexchange/exchanges/bitflyer/models/ticker.rb +0 -8
  67. data/lib/cryptoexchange/exchanges/bithumb/models/market_pair.rb +0 -8
  68. data/lib/cryptoexchange/exchanges/bithumb/models/ticker.rb +0 -8
  69. data/lib/cryptoexchange/exchanges/bitstamp/models/market_pair.rb +0 -8
  70. data/lib/cryptoexchange/exchanges/bitstamp/models/ticker.rb +0 -8
  71. data/lib/cryptoexchange/exchanges/bittrex/models/market_pair.rb +0 -8
  72. data/lib/cryptoexchange/exchanges/bittrex/models/ticker.rb +0 -8
  73. data/lib/cryptoexchange/exchanges/bleutrade/models/market_pair.rb +0 -8
  74. data/lib/cryptoexchange/exchanges/bleutrade/models/ticker.rb +0 -8
  75. data/lib/cryptoexchange/exchanges/btcc/models/market_pair.rb +0 -8
  76. data/lib/cryptoexchange/exchanges/btcc/models/ticker.rb +0 -8
  77. data/lib/cryptoexchange/exchanges/bter/models/market_pair.rb +0 -8
  78. data/lib/cryptoexchange/exchanges/bter/models/ticker.rb +0 -8
  79. data/lib/cryptoexchange/exchanges/ccex/models/market_pair.rb +0 -8
  80. data/lib/cryptoexchange/exchanges/ccex/models/ticker.rb +0 -8
  81. data/lib/cryptoexchange/exchanges/coin_exchange/models/market_pair.rb +0 -8
  82. data/lib/cryptoexchange/exchanges/coin_exchange/models/ticker.rb +0 -8
  83. data/lib/cryptoexchange/exchanges/coincheck/models/market_pair.rb +0 -8
  84. data/lib/cryptoexchange/exchanges/coincheck/models/ticker.rb +0 -8
  85. data/lib/cryptoexchange/exchanges/coinone/models/market_pair.rb +0 -8
  86. data/lib/cryptoexchange/exchanges/coinone/models/ticker.rb +0 -8
  87. data/lib/cryptoexchange/exchanges/cryptopia/models/market_pair.rb +0 -8
  88. data/lib/cryptoexchange/exchanges/cryptopia/models/ticker.rb +0 -8
  89. data/lib/cryptoexchange/exchanges/ether_delta/models/market_pair.rb +0 -8
  90. data/lib/cryptoexchange/exchanges/ether_delta/models/ticker.rb +0 -8
  91. data/lib/cryptoexchange/exchanges/gatecoin/models/market_pair.rb +0 -8
  92. data/lib/cryptoexchange/exchanges/gatecoin/models/ticker.rb +0 -8
  93. data/lib/cryptoexchange/exchanges/gemini/models/market_pair.rb +0 -8
  94. data/lib/cryptoexchange/exchanges/gemini/models/ticker.rb +0 -8
  95. data/lib/cryptoexchange/exchanges/hitbtc/models/market_pair.rb +0 -8
  96. data/lib/cryptoexchange/exchanges/hitbtc/models/ticker.rb +0 -8
  97. data/lib/cryptoexchange/exchanges/korbit/models/market_pair.rb +0 -8
  98. data/lib/cryptoexchange/exchanges/korbit/models/ticker.rb +0 -8
  99. data/lib/cryptoexchange/exchanges/lakebtc/models/market_pair.rb +0 -8
  100. data/lib/cryptoexchange/exchanges/lakebtc/models/ticker.rb +0 -8
  101. data/lib/cryptoexchange/exchanges/liqui/models/market_pair.rb +0 -8
  102. data/lib/cryptoexchange/exchanges/liqui/models/ticker.rb +0 -8
  103. data/lib/cryptoexchange/exchanges/livecoin/models/market_pair.rb +0 -8
  104. data/lib/cryptoexchange/exchanges/livecoin/models/ticker.rb +0 -8
  105. data/lib/cryptoexchange/exchanges/novaexchange/models/market_pair.rb +0 -8
  106. data/lib/cryptoexchange/exchanges/novaexchange/models/ticker.rb +0 -8
  107. data/lib/cryptoexchange/exchanges/okcoin/models/market_pair.rb +0 -8
  108. data/lib/cryptoexchange/exchanges/okcoin/models/ticker.rb +0 -8
  109. data/lib/cryptoexchange/exchanges/quoine/models/market_pair.rb +0 -8
  110. data/lib/cryptoexchange/exchanges/quoine/models/ticker.rb +0 -8
@@ -14,7 +14,7 @@ module Cryptoexchange::Exchanges
14
14
  output.each do |pair|
15
15
  base =
16
16
  target = pair[3..-1]
17
- market_pairs << Gemini::Models::MarketPair.new(
17
+ market_pairs << Cryptoexchange::Models::MarketPair.new(
18
18
  base: pair[0..2],
19
19
  target: pair[3..-1],
20
20
  market: Gemini::Market::NAME
@@ -22,7 +22,7 @@ module Cryptoexchange::Exchanges
22
22
  end
23
23
 
24
24
  def adapt(output, market_pair)
25
- ticker = Hitbtc::Models::Ticker.new
25
+ ticker = Cryptoexchange::Models::Ticker.new
26
26
  ticker.base = market_pair.base
27
27
  ticker.target = market_pair.target
28
28
  ticker.market = Hitbtc::Market::NAME
@@ -11,7 +11,7 @@ module Cryptoexchange::Exchanges
11
11
 
12
12
  def adapt(output)
13
13
  output['symbols'].map do |market|
14
- Hitbtc::Models::MarketPair.new({
14
+ Cryptoexchange::Models::MarketPair.new({
15
15
  base: market['commodity'],
16
16
  target: market['currency'],
17
17
  market: Hitbtc::Market::NAME
@@ -20,7 +20,7 @@ module Cryptoexchange::Exchanges
20
20
  end
21
21
 
22
22
  def adapt(output, market_pair)
23
- ticker = Korbit::Models::Ticker.new
23
+ ticker = Cryptoexchange::Models::Ticker.new
24
24
  ticker.base = market_pair.base
25
25
  ticker.target = market_pair.target
26
26
  ticker.market = Korbit::Market::NAME
@@ -11,7 +11,7 @@ module Cryptoexchange::Exchanges
11
11
  def adapt(output)
12
12
  market_pairs = []
13
13
  output.each do |pair|
14
- market_pairs << Korbit::Models::MarketPair.new(
14
+ market_pairs << Cryptoexchange::Models::MarketPair.new(
15
15
  base: pair[:base],
16
16
  target: pair[:target],
17
17
  market: Korbit::Market::NAME
@@ -0,0 +1,8 @@
1
+ module Cryptoexchange::Exchanges
2
+ module Kraken
3
+ class Market
4
+ NAME = 'kraken'
5
+ API_URL = 'https://api.kraken.com/0/public'
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,46 @@
1
+ module Cryptoexchange::Exchanges
2
+ module Kraken
3
+ module Services
4
+ class Market < Cryptoexchange::Services::Market
5
+ class << self
6
+ def supports_individual_ticker_query?
7
+ true
8
+ end
9
+ end
10
+
11
+ def fetch(market_pair)
12
+ output = super(ticker_url(market_pair))
13
+ adapt(output, market_pair)
14
+ end
15
+
16
+ def ticker_url(market_pair)
17
+ base = market_pair.base
18
+ target = market_pair.target
19
+ "#{Cryptoexchange::Exchanges::Kraken::Market::API_URL}/Ticker?pair=#{base}#{target}"
20
+ end
21
+
22
+ def adapt(output, market_pair)
23
+ output = output['result'].values.first
24
+
25
+ vol24h = output['v'].last
26
+ high24h = output['h'].last
27
+ low24h = output['l'].last
28
+
29
+ ticker = Cryptoexchange::Models::Ticker.new
30
+ ticker.base = market_pair.base
31
+ ticker.target = market_pair.target
32
+ ticker.market = Kraken::Market::NAME
33
+ ticker.ask = NumericHelper.to_d(output['a'].first)
34
+ ticker.bid = NumericHelper.to_d(output['b'].first)
35
+ ticker.last = NumericHelper.to_d(output['c'].first)
36
+ ticker.high = NumericHelper.to_d(high24h)
37
+ ticker.low = NumericHelper.to_d(low24h)
38
+ ticker.volume = NumericHelper.to_d(vol24h)
39
+ ticker.timestamp = Time.now.to_i
40
+ ticker.payload = output
41
+ ticker
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,27 @@
1
+ module Cryptoexchange::Exchanges
2
+ module Kraken
3
+ module Services
4
+ class Pairs < Cryptoexchange::Services::Pairs
5
+ PAIRS_URL = "#{Cryptoexchange::Exchanges::Kraken::Market::API_URL}/AssetPairs"
6
+
7
+ def fetch
8
+ output = super
9
+ adapt(output)
10
+ end
11
+
12
+ def adapt(output)
13
+ market_pairs = []
14
+ output['result'].each do |key, pair|
15
+ market_pairs << Cryptoexchange::Models::MarketPair.new(
16
+ base: pair['base'],
17
+ target: pair['quote'],
18
+ market: Kraken::Market::NAME
19
+ )
20
+ end
21
+
22
+ market_pairs
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -23,7 +23,7 @@ module Cryptoexchange::Exchanges
23
23
  output.keys.each do |pair|
24
24
  if pair.include?('btc')
25
25
  ticker_json = output[pair]
26
- ticker = Lakebtc::Models::Ticker.new
26
+ ticker = Cryptoexchange::Models::Ticker.new
27
27
  ticker.base = 'btc'
28
28
  ticker.target = pair[3..-1]
29
29
  ticker.market = Lakebtc::Market::NAME
@@ -13,8 +13,8 @@ module Cryptoexchange::Exchanges
13
13
  market_pairs = []
14
14
  output.keys.each do |pair|
15
15
  if pair.include?('btc')
16
- market_pairs << Lakebtc::Models::MarketPair.new(
17
- base: 'btc',
16
+ market_pairs << Cryptoexchange::Models::MarketPair.new(
17
+ base: pair[0..2],
18
18
  target: pair[3..-1],
19
19
  market: Lakebtc::Market::NAME
20
20
  )
@@ -23,7 +23,7 @@ module Cryptoexchange::Exchanges
23
23
  def adapt(output, market_pair)
24
24
  market = output["#{market_pair.base}_#{market_pair.target}".downcase]
25
25
 
26
- ticker = Liqui::Models::Ticker.new
26
+ ticker = Cryptoexchange::Models::Ticker.new
27
27
  ticker.base = market_pair.base
28
28
  ticker.target = market_pair.target
29
29
  ticker.market = Liqui::Market::NAME
@@ -14,7 +14,7 @@ module Cryptoexchange::Exchanges
14
14
  output['pairs'].keys.map do |pair|
15
15
  base, target = pair.upcase.split('_')
16
16
 
17
- Liqui::Models::MarketPair.new({
17
+ Cryptoexchange::Models::MarketPair.new({
18
18
  base: base,
19
19
  target: target,
20
20
  market: Liqui::Market::NAME
@@ -20,7 +20,7 @@ module Cryptoexchange::Exchanges
20
20
  def adapt_all(output)
21
21
  output.map do |ticker|
22
22
  base, target = ticker['symbol'].split('/')
23
- market_pair = Cryptoexchange::Exchanges::Livecoin::Models::MarketPair.new(
23
+ market_pair = Cryptoexchange::Models::MarketPair.new(
24
24
  base: base,
25
25
  target: target,
26
26
  market: Livecoin::Market::NAME
@@ -31,7 +31,7 @@ module Cryptoexchange::Exchanges
31
31
  end
32
32
 
33
33
  def adapt(output, market_pair)
34
- ticker = Livecoin::Models::Ticker.new
34
+ ticker = Cryptoexchange::Models::Ticker.new
35
35
  ticker.base = market_pair.base
36
36
  ticker.target = market_pair.target
37
37
  ticker.market = Livecoin::Market::NAME
@@ -13,7 +13,7 @@ module Cryptoexchange::Exchanges
13
13
  market_pairs = []
14
14
  output.each do |ticker|
15
15
  base, target = ticker['symbol'].split('/')
16
- market_pair = Livecoin::Models::MarketPair.new
16
+ market_pair = Cryptoexchange::Models::MarketPair.new
17
17
  market_pair.base = base
18
18
  market_pair.target = target
19
19
  market_pair.market = Livecoin::Market::NAME
@@ -24,7 +24,7 @@ module Cryptoexchange::Exchanges
24
24
  def adapt(output, market_pair)
25
25
  market = output['markets'][0]
26
26
 
27
- ticker = Novaexchange::Models::Ticker.new
27
+ ticker = Cryptoexchange::Models::Ticker.new
28
28
  ticker.base = market_pair.base
29
29
  ticker.target = market_pair.target
30
30
  ticker.market = Novaexchange::Market::NAME
@@ -12,7 +12,7 @@ module Cryptoexchange::Exchanges
12
12
  def adapt(output)
13
13
  market_pairs = []
14
14
  output['markets'].each do |ticker|
15
- market_pair = Novaexchange::Models::MarketPair.new
15
+ market_pair = Cryptoexchange::Models::MarketPair.new
16
16
 
17
17
  # Note: The base/target are swapped intentionally. It appears that
18
18
  # the API endpoint is returning in the wrong order.
@@ -20,7 +20,7 @@ module Cryptoexchange::Exchanges
20
20
  end
21
21
 
22
22
  def adapt(output, market_pair)
23
- ticker = Okcoin::Models::Ticker.new
23
+ ticker = Cryptoexchange::Models::Ticker.new
24
24
  ticker.base = market_pair.base
25
25
  ticker.target = market_pair.target
26
26
  ticker.market = Okcoin::Market::NAME
@@ -11,7 +11,7 @@ module Cryptoexchange::Exchanges
11
11
  def adapt(output)
12
12
  market_pairs = []
13
13
  output.each do |pair|
14
- market_pairs << Okcoin::Models::MarketPair.new(
14
+ market_pairs << Cryptoexchange::Models::MarketPair.new(
15
15
  base: pair[:base],
16
16
  target: pair[:target],
17
17
  market: Okcoin::Market::NAME
@@ -19,7 +19,7 @@ module Cryptoexchange::Exchanges
19
19
 
20
20
  def adapt_all(output)
21
21
  output.map do |pair|
22
- market_pair = Cryptoexchange::Exchanges::Quoine::Models::MarketPair.new(
22
+ market_pair = Cryptoexchange::Models::MarketPair.new(
23
23
  base: pair['base_currency'],
24
24
  target: pair['quoted_currency'],
25
25
  market: Quoine::Market::NAME
@@ -29,7 +29,7 @@ module Cryptoexchange::Exchanges
29
29
  end
30
30
 
31
31
  def adapt(output, market_pair)
32
- ticker = Quoine::Models::Ticker.new
32
+ ticker = Cryptoexchange::Models::Ticker.new
33
33
  ticker.base = market_pair.base
34
34
  ticker.target = market_pair.target
35
35
  ticker.market = Quoine::Market::NAME
@@ -12,7 +12,7 @@ module Cryptoexchange::Exchanges
12
12
  def adapt(output)
13
13
  market_pairs = []
14
14
  output.each do |pair|
15
- market_pairs << Quoine::Models::MarketPair.new(
15
+ market_pairs << Cryptoexchange::Models::MarketPair.new(
16
16
  base: pair['base_currency'],
17
17
  target: pair['quoted_currency'],
18
18
  market: Quoine::Market::NAME
@@ -1,3 +1,3 @@
1
1
  module Cryptoexchange
2
- VERSION = "0.3.4"
2
+ VERSION = "0.4.0"
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.3.4
4
+ version: 0.4.0
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-07-30 00:00:00.000000000 Z
11
+ date: 2017-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -130,135 +130,91 @@ files:
130
130
  - lib/cryptoexchange/client.rb
131
131
  - lib/cryptoexchange/exchanges/anx/anx.yml
132
132
  - lib/cryptoexchange/exchanges/anx/market.rb
133
- - lib/cryptoexchange/exchanges/anx/models/market_pair.rb
134
- - lib/cryptoexchange/exchanges/anx/models/ticker.rb
135
133
  - lib/cryptoexchange/exchanges/anx/services/market.rb
136
134
  - lib/cryptoexchange/exchanges/anx/services/pairs.rb
137
135
  - lib/cryptoexchange/exchanges/bitcoin_indonesia/bitcoin_indonesia.yml
138
136
  - lib/cryptoexchange/exchanges/bitcoin_indonesia/market.rb
139
- - lib/cryptoexchange/exchanges/bitcoin_indonesia/models/market_pair.rb
140
- - lib/cryptoexchange/exchanges/bitcoin_indonesia/models/ticker.rb
141
137
  - lib/cryptoexchange/exchanges/bitcoin_indonesia/services/market.rb
142
138
  - lib/cryptoexchange/exchanges/bitcoin_indonesia/services/pairs.rb
139
+ - lib/cryptoexchange/exchanges/bitfinex/market.rb
140
+ - lib/cryptoexchange/exchanges/bitfinex/services/market.rb
141
+ - lib/cryptoexchange/exchanges/bitfinex/services/pairs.rb
143
142
  - lib/cryptoexchange/exchanges/bitflyer/market.rb
144
- - lib/cryptoexchange/exchanges/bitflyer/models/market_pair.rb
145
- - lib/cryptoexchange/exchanges/bitflyer/models/ticker.rb
146
143
  - lib/cryptoexchange/exchanges/bitflyer/services/market.rb
147
144
  - lib/cryptoexchange/exchanges/bitflyer/services/pairs.rb
148
145
  - lib/cryptoexchange/exchanges/bithumb/bithumb.yml
149
146
  - lib/cryptoexchange/exchanges/bithumb/market.rb
150
- - lib/cryptoexchange/exchanges/bithumb/models/market_pair.rb
151
- - lib/cryptoexchange/exchanges/bithumb/models/ticker.rb
152
147
  - lib/cryptoexchange/exchanges/bithumb/services/market.rb
153
148
  - lib/cryptoexchange/exchanges/bithumb/services/pairs.rb
154
149
  - lib/cryptoexchange/exchanges/bitstamp/bitstamp.yml
155
150
  - lib/cryptoexchange/exchanges/bitstamp/market.rb
156
- - lib/cryptoexchange/exchanges/bitstamp/models/market_pair.rb
157
- - lib/cryptoexchange/exchanges/bitstamp/models/ticker.rb
158
151
  - lib/cryptoexchange/exchanges/bitstamp/services/market.rb
159
152
  - lib/cryptoexchange/exchanges/bitstamp/services/pairs.rb
160
153
  - lib/cryptoexchange/exchanges/bittrex/market.rb
161
- - lib/cryptoexchange/exchanges/bittrex/models/market_pair.rb
162
- - lib/cryptoexchange/exchanges/bittrex/models/ticker.rb
163
154
  - lib/cryptoexchange/exchanges/bittrex/services/market.rb
164
155
  - lib/cryptoexchange/exchanges/bittrex/services/pairs.rb
165
156
  - lib/cryptoexchange/exchanges/bleutrade/market.rb
166
- - lib/cryptoexchange/exchanges/bleutrade/models/market_pair.rb
167
- - lib/cryptoexchange/exchanges/bleutrade/models/ticker.rb
168
157
  - lib/cryptoexchange/exchanges/bleutrade/services/market.rb
169
158
  - lib/cryptoexchange/exchanges/bleutrade/services/pairs.rb
170
159
  - lib/cryptoexchange/exchanges/btcc/btcc.yml
171
160
  - lib/cryptoexchange/exchanges/btcc/market.rb
172
- - lib/cryptoexchange/exchanges/btcc/models/market_pair.rb
173
- - lib/cryptoexchange/exchanges/btcc/models/ticker.rb
174
161
  - lib/cryptoexchange/exchanges/btcc/services/market.rb
175
162
  - lib/cryptoexchange/exchanges/btcc/services/pairs.rb
176
163
  - lib/cryptoexchange/exchanges/bter/market.rb
177
- - lib/cryptoexchange/exchanges/bter/models/market_pair.rb
178
- - lib/cryptoexchange/exchanges/bter/models/ticker.rb
179
164
  - lib/cryptoexchange/exchanges/bter/services/market.rb
180
165
  - lib/cryptoexchange/exchanges/bter/services/pairs.rb
181
166
  - lib/cryptoexchange/exchanges/ccex/market.rb
182
- - lib/cryptoexchange/exchanges/ccex/models/market_pair.rb
183
- - lib/cryptoexchange/exchanges/ccex/models/ticker.rb
184
167
  - lib/cryptoexchange/exchanges/ccex/services/market.rb
185
168
  - lib/cryptoexchange/exchanges/ccex/services/pairs.rb
186
169
  - lib/cryptoexchange/exchanges/coin_exchange/market.rb
187
- - lib/cryptoexchange/exchanges/coin_exchange/models/market_pair.rb
188
- - lib/cryptoexchange/exchanges/coin_exchange/models/ticker.rb
189
170
  - lib/cryptoexchange/exchanges/coin_exchange/services/market.rb
190
171
  - lib/cryptoexchange/exchanges/coin_exchange/services/pairs.rb
191
172
  - lib/cryptoexchange/exchanges/coincheck/coincheck.yml
192
173
  - lib/cryptoexchange/exchanges/coincheck/market.rb
193
- - lib/cryptoexchange/exchanges/coincheck/models/market_pair.rb
194
- - lib/cryptoexchange/exchanges/coincheck/models/ticker.rb
195
174
  - lib/cryptoexchange/exchanges/coincheck/services/market.rb
196
175
  - lib/cryptoexchange/exchanges/coincheck/services/pairs.rb
197
176
  - lib/cryptoexchange/exchanges/coinone/market.rb
198
- - lib/cryptoexchange/exchanges/coinone/models/market_pair.rb
199
- - lib/cryptoexchange/exchanges/coinone/models/ticker.rb
200
177
  - lib/cryptoexchange/exchanges/coinone/services/market.rb
201
178
  - lib/cryptoexchange/exchanges/coinone/services/pairs.rb
202
179
  - lib/cryptoexchange/exchanges/cryptopia/market.rb
203
- - lib/cryptoexchange/exchanges/cryptopia/models/market_pair.rb
204
- - lib/cryptoexchange/exchanges/cryptopia/models/ticker.rb
205
180
  - lib/cryptoexchange/exchanges/cryptopia/services/market.rb
206
181
  - lib/cryptoexchange/exchanges/cryptopia/services/pairs.rb
207
182
  - lib/cryptoexchange/exchanges/ether_delta/market.rb
208
- - lib/cryptoexchange/exchanges/ether_delta/models/market_pair.rb
209
- - lib/cryptoexchange/exchanges/ether_delta/models/ticker.rb
210
183
  - lib/cryptoexchange/exchanges/ether_delta/services/market.rb
211
184
  - lib/cryptoexchange/exchanges/ether_delta/services/pairs.rb
212
185
  - lib/cryptoexchange/exchanges/gatecoin/market.rb
213
- - lib/cryptoexchange/exchanges/gatecoin/models/market_pair.rb
214
- - lib/cryptoexchange/exchanges/gatecoin/models/ticker.rb
215
186
  - lib/cryptoexchange/exchanges/gatecoin/services/market.rb
216
187
  - lib/cryptoexchange/exchanges/gatecoin/services/pairs.rb
217
188
  - lib/cryptoexchange/exchanges/gemini/market.rb
218
- - lib/cryptoexchange/exchanges/gemini/models/market_pair.rb
219
- - lib/cryptoexchange/exchanges/gemini/models/ticker.rb
220
189
  - lib/cryptoexchange/exchanges/gemini/services/market.rb
221
190
  - lib/cryptoexchange/exchanges/gemini/services/pairs.rb
222
191
  - lib/cryptoexchange/exchanges/hitbtc/market.rb
223
- - lib/cryptoexchange/exchanges/hitbtc/models/market_pair.rb
224
- - lib/cryptoexchange/exchanges/hitbtc/models/ticker.rb
225
192
  - lib/cryptoexchange/exchanges/hitbtc/services/market.rb
226
193
  - lib/cryptoexchange/exchanges/hitbtc/services/pairs.rb
227
194
  - lib/cryptoexchange/exchanges/korbit/korbit.yml
228
195
  - lib/cryptoexchange/exchanges/korbit/market.rb
229
- - lib/cryptoexchange/exchanges/korbit/models/market_pair.rb
230
- - lib/cryptoexchange/exchanges/korbit/models/ticker.rb
231
196
  - lib/cryptoexchange/exchanges/korbit/services/market.rb
232
197
  - lib/cryptoexchange/exchanges/korbit/services/pairs.rb
198
+ - lib/cryptoexchange/exchanges/kraken/market.rb
199
+ - lib/cryptoexchange/exchanges/kraken/services/market.rb
200
+ - lib/cryptoexchange/exchanges/kraken/services/pairs.rb
233
201
  - lib/cryptoexchange/exchanges/lakebtc/market.rb
234
- - lib/cryptoexchange/exchanges/lakebtc/models/market_pair.rb
235
- - lib/cryptoexchange/exchanges/lakebtc/models/ticker.rb
236
202
  - lib/cryptoexchange/exchanges/lakebtc/services/market.rb
237
203
  - lib/cryptoexchange/exchanges/lakebtc/services/pairs.rb
238
204
  - lib/cryptoexchange/exchanges/liqui/market.rb
239
- - lib/cryptoexchange/exchanges/liqui/models/market_pair.rb
240
- - lib/cryptoexchange/exchanges/liqui/models/ticker.rb
241
205
  - lib/cryptoexchange/exchanges/liqui/services/market.rb
242
206
  - lib/cryptoexchange/exchanges/liqui/services/pairs.rb
243
207
  - lib/cryptoexchange/exchanges/livecoin/market.rb
244
- - lib/cryptoexchange/exchanges/livecoin/models/market_pair.rb
245
- - lib/cryptoexchange/exchanges/livecoin/models/ticker.rb
246
208
  - lib/cryptoexchange/exchanges/livecoin/services/market.rb
247
209
  - lib/cryptoexchange/exchanges/livecoin/services/pairs.rb
248
210
  - lib/cryptoexchange/exchanges/novaexchange/market.rb
249
- - lib/cryptoexchange/exchanges/novaexchange/models/market_pair.rb
250
- - lib/cryptoexchange/exchanges/novaexchange/models/ticker.rb
251
211
  - lib/cryptoexchange/exchanges/novaexchange/services/market.rb
252
212
  - lib/cryptoexchange/exchanges/novaexchange/services/pairs.rb
253
213
  - lib/cryptoexchange/exchanges/okcoin/market.rb
254
- - lib/cryptoexchange/exchanges/okcoin/models/market_pair.rb
255
- - lib/cryptoexchange/exchanges/okcoin/models/ticker.rb
256
214
  - lib/cryptoexchange/exchanges/okcoin/okcoin.yml
257
215
  - lib/cryptoexchange/exchanges/okcoin/services/market.rb
258
216
  - lib/cryptoexchange/exchanges/okcoin/services/pairs.rb
259
217
  - lib/cryptoexchange/exchanges/quoine/market.rb
260
- - lib/cryptoexchange/exchanges/quoine/models/market_pair.rb
261
- - lib/cryptoexchange/exchanges/quoine/models/ticker.rb
262
218
  - lib/cryptoexchange/exchanges/quoine/services/market.rb
263
219
  - lib/cryptoexchange/exchanges/quoine/services/pairs.rb
264
220
  - lib/cryptoexchange/helpers/hash_helper.rb
@@ -1,8 +0,0 @@
1
- module Cryptoexchange::Exchanges
2
- module Anx
3
- module Models
4
- class MarketPair < Cryptoexchange::Models::MarketPair
5
- end
6
- end
7
- end
8
- end
@@ -1,8 +0,0 @@
1
- module Cryptoexchange::Exchanges
2
- module Anx
3
- module Models
4
- class Ticker < Cryptoexchange::Models::Ticker
5
- end
6
- end
7
- end
8
- end