cryptum 0.0.252 → 0.0.253
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/cryptum/ui/market_trend.rb +1 -4
- data/lib/cryptum/ui/order_execution.rb +1 -1
- data/lib/cryptum/ui/order_timer.rb +9 -2
- data/lib/cryptum/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de7aa17b3fb681ba04be33a6deb553a69288bda764c5dd986629885e01a2b844
|
4
|
+
data.tar.gz: 4cd2964dea4a496037635def94cccce1592ba2fa6d1f6b9245cbb2ffa324619d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18cc950260a9780e3cedc068f68e3663ff9bba8fa4be7f50e93ea047a8930dc5fe22743f3b98a9f28f8ad717ed1ac4ac7edb3dc2c74588430d78e3480ec05b34
|
7
|
+
data.tar.gz: 4e9bdff3af78b80049811e4af5b4d16b63c17ab80630dc26a689c7cda9fb23615e0af0233a85aba4d2ce466e7d948b5425a9cee923191fd5fce60b25d88de62c
|
data/Gemfile
CHANGED
@@ -35,18 +35,15 @@ module Cryptum
|
|
35
35
|
when :green
|
36
36
|
order_trend_color = :green
|
37
37
|
trend_arrow = Cryptum.up_arrow
|
38
|
-
trend = 'BULL'
|
39
38
|
when :yellow
|
40
39
|
order_trend_color = :yellow
|
41
40
|
trend_arrow = Cryptum.flat_arrow
|
42
|
-
trend = 'FLATLINE'
|
43
41
|
when :red
|
44
42
|
order_trend_color = :red
|
45
43
|
trend_arrow = Cryptum.down_arrow
|
46
|
-
trend = 'BEAR'
|
47
44
|
end
|
48
45
|
|
49
|
-
market_trend_out = "Market Trend #{trend_arrow} | #{
|
46
|
+
market_trend_out = "Market Trend #{trend_arrow} | #{order_trend_out}"
|
50
47
|
|
51
48
|
# UI
|
52
49
|
# col_just1 = 12
|
@@ -70,7 +70,7 @@ module Cryptum
|
|
70
70
|
cast_margin_to_sec = margin_percent_open_24h * 0.1
|
71
71
|
|
72
72
|
# Reset times to max or default depending on
|
73
|
-
#
|
73
|
+
# BULL or BEAR market trend
|
74
74
|
if cast_margin_to_sec.positive?
|
75
75
|
event_history.bullish_trend = true
|
76
76
|
event_history.time_between_orders = event_history.time_between_orders_max
|
@@ -47,9 +47,16 @@ module Cryptum
|
|
47
47
|
color = indicator_status.market_trend[:color] if indicator_status.market_trend
|
48
48
|
case color
|
49
49
|
when :green
|
50
|
-
intent = "-
|
50
|
+
intent = "- Waiting for Open Sell Orders to Trigger -"
|
51
51
|
else
|
52
|
-
|
52
|
+
trend = 'BEAR'
|
53
|
+
speed = 'FAST'
|
54
|
+
if event_history.bullish_trend
|
55
|
+
trend = 'BULL'
|
56
|
+
speed = 'SLOW'
|
57
|
+
end
|
58
|
+
|
59
|
+
intent = "#{speed} #{trend} BUY: #{order_countdown} of #{time_between_order_exec_out}"
|
53
60
|
intent = '- BUYING PAUSED -' if event_history.red_pill
|
54
61
|
end
|
55
62
|
|
data/lib/cryptum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryptum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.253
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -282,14 +282,14 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - '='
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 3.0.
|
285
|
+
version: 3.0.4
|
286
286
|
type: :runtime
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - '='
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 3.0.
|
292
|
+
version: 3.0.4
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: thin
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|