trade-o-matic 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trade-o-matic/adapters/surbtc_backend.rb +2 -2
- data/lib/trade-o-matic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7c7a1d55b67326622eea9562e032ea26f85e528
|
4
|
+
data.tar.gz: 123d8eb84dc23191288c8fdf9d391317f1fed0f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db96eff0a3dddabf187d6ee54528707c020c3656efbf7fb3ccedb4a02eac98f239ecadd190033226c78dead74e13b764ecabd69690171b1adc2b65a84064955
|
7
|
+
data.tar.gz: 60c2d37e546ffaaf67d1d411067ec13b8f704addafc812e4601edccdbe6e7abd187901c552a9437aac947e1607872cca86d00ea10cc3fac14b9e4a28efcbebd7
|
@@ -18,7 +18,7 @@ module Trader
|
|
18
18
|
'canceled' => AccountOrder::CANCELED
|
19
19
|
}
|
20
20
|
|
21
|
-
MAIN_MARKET = CurrencyPair.new(:SATOSHI, :
|
21
|
+
MAIN_MARKET = CurrencyPair.new(:SATOSHI, :CLP_CENT)
|
22
22
|
|
23
23
|
class SurbtcBalance < RawBalance
|
24
24
|
attr_mapped :amount
|
@@ -112,7 +112,7 @@ module Trader
|
|
112
112
|
end
|
113
113
|
|
114
114
|
def currency_code_for(_currency)
|
115
|
-
return 'clp' if _currency.code == :
|
115
|
+
return 'clp' if _currency.code == :CLP_CENT
|
116
116
|
return 'btc' if _currency.code == :SATOSHI
|
117
117
|
_currency.to_s.downcase
|
118
118
|
end
|