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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2ea64fa031ec070322b46878f87f731aac88daf17f95b484352302c23878ca1
4
- data.tar.gz: 503f781c7b42c933e9cf0a1844fff40ac81918d99dc563093ea2fe44c74207f1
3
+ metadata.gz: 37d82332afe0a961d455c2ee8e6b85c7cbfb0f319540d6671145c11b140fa86f
4
+ data.tar.gz: c2b411d8a9dc8e6c8f54ec127e566c9e01eedb66a38c9a2b3cfe7cb78c042e16
5
5
  SHA512:
6
- metadata.gz: e2c0b6eee559d536b5ec28736381d7bb171454992f8ad3dc78929e0d45b1c5b32323f32966f50a8cd6dfe8e63e50aeea16a2b8a22ed01b152a61a784ec659e00
7
- data.tar.gz: 40252c54e8290b9ac5f40f5e64225ab1444a2c9ff737fd1694da65314dc25a1fa35e554bd30f7c865fb61fae3285f028d50de15cd3380f8cc256abd4a1a3b8d4
6
+ metadata.gz: d39049f294a1e27e726134da18d815c848be0693af5dd25a2824a2c44d90d5ed67318df3b78459011498d320cad8fc58c094bfd6fda04a59bbf03cd3ddee358b
7
+ data.tar.gz: e9436cb480e5ea2442702d54f03a85278efd899a0a2e8e9869e6c0a41abdf85fe59aed3e4e9700ce9ae70edb8834c856e7cd5c6d76fccb844d04742f1c926828
@@ -31,7 +31,7 @@ module Cryptum
31
31
  start_time = opts[:start_time]
32
32
  order_book = opts[:order_book]
33
33
 
34
- self.bullish_trend = false
34
+ self.bullish_trend = true
35
35
  self.first_event = true
36
36
  self.order_canceled = false
37
37
  self.order_submitted = false
@@ -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.to_f.positive?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.246'
4
+ VERSION = '0.0.248'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.246
4
+ version: 0.0.248
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.