cryptum 0.0.247 → 0.0.249
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 +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: 2db9904b6071e9e4460ba213b8810a0d67f1989b195704e57ff7ea7a2fd3142f
|
4
|
+
data.tar.gz: a91986227e5fbb370d24dbf4936f2a642be174afaf81ff35e7190bafe9bb1260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '081fe219b236ad7538faa54de1b4df86ad2334bf3130067e4a60c966a879c5de33e8c7abdd0740bf2e48b712929781ae94f803894048d7a1a710d07dd325c348'
|
7
|
+
data.tar.gz: 2169e908951db58fbeadeb014db922ec2db055a80f2612a52783d24dbc24bde304f342ff45592e029213a9a01cea2d5c5121551b3c9c4450c7348fe16e243ee3
|
@@ -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 =
|
34
|
+
self.bullish_trend = true
|
35
35
|
self.first_event = true
|
36
36
|
self.order_canceled = false
|
37
37
|
self.order_submitted = false
|
@@ -44,7 +44,7 @@ module Cryptum
|
|
44
44
|
self.reset_market_trend = false
|
45
45
|
|
46
46
|
# 60 seconds
|
47
|
-
self.time_between_orders =
|
47
|
+
self.time_between_orders = 60
|
48
48
|
self.time_between_orders_reset = self.time_between_orders
|
49
49
|
|
50
50
|
# 60 minutes
|
@@ -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