cryptum 0.0.246 → 0.0.248
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/event/history.rb +1 -1
- data/lib/cryptum/option.rb +2 -2
- data/lib/cryptum/ui/market_trend.rb +4 -1
- 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: 37d82332afe0a961d455c2ee8e6b85c7cbfb0f319540d6671145c11b140fa86f
|
4
|
+
data.tar.gz: c2b411d8a9dc8e6c8f54ec127e566c9e01eedb66a38c9a2b3cfe7cb78c042e16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d39049f294a1e27e726134da18d815c848be0693af5dd25a2824a2c44d90d5ed67318df3b78459011498d320cad8fc58c094bfd6fda04a59bbf03cd3ddee358b
|
7
|
+
data.tar.gz: e9436cb480e5ea2442702d54f03a85278efd899a0a2e8e9869e6c0a41abdf85fe59aed3e4e9700ce9ae70edb8834c856e7cd5c6d76fccb844d04742f1c926828
|
data/lib/cryptum/option.rb
CHANGED
@@ -89,8 +89,8 @@ module Cryptum
|
|
89
89
|
reason = :repo_root
|
90
90
|
end
|
91
91
|
|
92
|
-
option_choice.market_trend_reset = 86_400 if option_choice.market_trend_reset.zero?
|
93
|
-
unless option_choice.market_trend_reset.
|
92
|
+
option_choice.market_trend_reset = 86_400 if option_choice.market_trend_reset.to_i.zero?
|
93
|
+
unless option_choice.market_trend_reset.to_i.positive?
|
94
94
|
usage = true
|
95
95
|
reason = :market_trend_reset
|
96
96
|
end
|
@@ -35,15 +35,18 @@ module Cryptum
|
|
35
35
|
when :green
|
36
36
|
order_trend_color = :green
|
37
37
|
trend_arrow = Cryptum.up_arrow
|
38
|
+
trend = 'Bull'
|
38
39
|
when :yellow
|
39
40
|
order_trend_color = :yellow
|
40
41
|
trend_arrow = Cryptum.flat_arrow
|
42
|
+
trend = 'Flatline'
|
41
43
|
when :red
|
42
44
|
order_trend_color = :red
|
43
45
|
trend_arrow = Cryptum.down_arrow
|
46
|
+
trend = 'Bear'
|
44
47
|
end
|
45
48
|
|
46
|
-
market_trend_out = "Market Trend #{trend_arrow} | #{order_trend_out}"
|
49
|
+
market_trend_out = "Market Trend #{trend_arrow} |#{trend} | #{order_trend_out}"
|
47
50
|
|
48
51
|
# UI
|
49
52
|
# col_just1 = 12
|
data/lib/cryptum/version.rb
CHANGED