btce 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/btce.rb +9 -3
- metadata +1 -1
data/lib/btce.rb
CHANGED
@@ -51,7 +51,9 @@ module Btce
|
|
51
51
|
eur
|
52
52
|
nvc
|
53
53
|
trc
|
54
|
-
ppc
|
54
|
+
ppc
|
55
|
+
fnc
|
56
|
+
cnc)
|
55
57
|
CURRENCY_PAIRS = %w(btc_usd
|
56
58
|
btc_eur
|
57
59
|
btc_rur
|
@@ -63,7 +65,9 @@ module Btce
|
|
63
65
|
eur_usd
|
64
66
|
nvc_btc
|
65
67
|
trc_btc
|
66
|
-
ppc_btc
|
68
|
+
ppc_btc
|
69
|
+
ftc_btc
|
70
|
+
cnc_btc)
|
67
71
|
MAX_DIGITS = {
|
68
72
|
"btc_usd" => 3,
|
69
73
|
"btc_eur" => 3,
|
@@ -76,7 +80,9 @@ module Btce
|
|
76
80
|
"eur_usd" => 4,
|
77
81
|
"nvc_btc" => 4,
|
78
82
|
"trc_btc" => 4,
|
79
|
-
"ppc_btc" => 4
|
83
|
+
"ppc_btc" => 4,
|
84
|
+
"ftc_btc" => 4,
|
85
|
+
"cnc_btc" => 4
|
80
86
|
}
|
81
87
|
KEY = YAML::load File.open 'btce-api-key.yml'
|
82
88
|
|