cryptum 0.0.283 → 0.0.284
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/order_book/market_trend.rb +4 -4
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89024d4cc5845fbe7796b479945592dbbe377aaad3b424367a1c34f431c2e2ac
|
4
|
+
data.tar.gz: cc67a839bfb60717a9cb374b61db9925f819fac1ef197db353c7b6c9f3854344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5637a7925b03289401e84051b6e96321efbfd8102ddbfb8f41484d31edea6bbc25549ed01b9da6e3e63198b90ba21cfb9af493a060f99136242b1134210773a8
|
7
|
+
data.tar.gz: a5a9622fe9102851bdc3c62aebdd9cad64a97f0a0b3f502cbeb7897f05199e6877ac11aade58249bd538b96785c4701418d4cbff4407a0729420a6c47da373c9
|
@@ -35,16 +35,16 @@ module Cryptum
|
|
35
35
|
if buy_total > sell_total
|
36
36
|
order_difference = buy_total - sell_total
|
37
37
|
order_difference_out = Cryptum.beautify_large_number(
|
38
|
-
value: order_difference
|
39
|
-
)
|
38
|
+
value: order_difference
|
39
|
+
).to_i
|
40
40
|
indicator_hash[:color] = :green
|
41
41
|
indicator_hash[:ui] = "BUYS UP BY #{order_difference_out}"
|
42
42
|
indicator_hash[:status] = "B#{Cryptum.up_arrow}"
|
43
43
|
elsif buy_total < sell_total
|
44
44
|
order_difference = sell_total - buy_total
|
45
45
|
order_difference_out = Cryptum.beautify_large_number(
|
46
|
-
value: order_difference
|
47
|
-
)
|
46
|
+
value: order_difference
|
47
|
+
).to_i
|
48
48
|
indicator_hash[:color] = :red
|
49
49
|
indicator_hash[:ui] = "SELLS UP BY #{order_difference_out}"
|
50
50
|
indicator_hash[:status] = "S#{Cryptum.up_arrow}"
|
data/lib/cryptum/version.rb
CHANGED