cryptum 0.0.350 → 0.0.352
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/order_book/market_trend.rb +2 -2
- data/lib/cryptum/ui/market_trend.rb +1 -19
- 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: a23224cc73178c4663be48c1acc1f32b206b72b08773267a32d5a17c14c6f5b1
|
4
|
+
data.tar.gz: 5f19b50281cbe3ef284b1a8dfa64d0cf606dfd02687ca9b1c16fcd49edaab275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28424b87e5b2d603294746caedd30e2463643ea320044a2305f482e2f2a7d25f8661eac42d3b6c58fff2149b771c3eb54a9f433386f3bee9175c36dfd730ee13
|
7
|
+
data.tar.gz: 49878b0040b787f9799e9d90785876da078a990d1a6b693d2b4180aed5d4387730b9529c567edfb19fde68231910e81279546341cd2c396af341e95b228e4b54
|
data/Gemfile
CHANGED
@@ -45,7 +45,7 @@ module Cryptum
|
|
45
45
|
# order_difference = Cryptum.beautify_large_number(
|
46
46
|
# value: order_difference
|
47
47
|
# ).to_i
|
48
|
-
motivation = 'BUYING DIP'
|
48
|
+
motivation = 'BUYING THE DIP'
|
49
49
|
indicator_hash[:color] = :red
|
50
50
|
if event_history.bullish_trend
|
51
51
|
motivation = 'FOMO' if event_history.bullish_trend
|
@@ -62,7 +62,7 @@ module Cryptum
|
|
62
62
|
motivation = 'REKT'
|
63
63
|
indicator_hash[:color] = :red
|
64
64
|
if event_history.bullish_trend
|
65
|
-
motivation = '
|
65
|
+
motivation = 'TAKING PROFITS' if event_history.bullish_trend
|
66
66
|
indicator_hash[:color] = :green
|
67
67
|
end
|
68
68
|
trend = "SELLS #{Cryptum.up_arrow} BY #{order_difference.to_i}"
|
@@ -28,9 +28,6 @@ module Cryptum
|
|
28
28
|
market_trend_out = indicator_hash[:ui]
|
29
29
|
|
30
30
|
# UI
|
31
|
-
col_just1 = (Curses.cols - Cryptum::UI.col_first) - 1
|
32
|
-
col_just4 = Curses.cols - Cryptum::UI.col_fourth
|
33
|
-
|
34
31
|
# ROW 1
|
35
32
|
out_line_no = 0
|
36
33
|
Cryptum::UI.line(
|
@@ -40,19 +37,11 @@ module Cryptum
|
|
40
37
|
|
41
38
|
# ROW 2
|
42
39
|
out_line_no += 1
|
43
|
-
market_trend_win.setpos(out_line_no, Cryptum::UI.col_first)
|
44
|
-
market_trend_win.clrtoeol
|
45
|
-
|
46
|
-
Cryptum::UI.colorize(
|
47
|
-
ui_win: market_trend_win,
|
48
|
-
color: market_trend_color,
|
49
|
-
string: ''.ljust(col_just1, ' ')
|
50
|
-
)
|
51
|
-
|
52
40
|
market_trend_win.setpos(
|
53
41
|
out_line_no,
|
54
42
|
Cryptum::UI.col_center(str: market_trend_out)
|
55
43
|
)
|
44
|
+
market_trend_win.clrtoeol
|
56
45
|
Cryptum::UI.colorize(
|
57
46
|
ui_win: market_trend_win,
|
58
47
|
color: market_trend_color,
|
@@ -60,13 +49,6 @@ module Cryptum
|
|
60
49
|
string: market_trend_out
|
61
50
|
)
|
62
51
|
|
63
|
-
market_trend_win.setpos(out_line_no, Cryptum::UI.col_fourth)
|
64
|
-
Cryptum::UI.colorize(
|
65
|
-
ui_win: market_trend_win,
|
66
|
-
color: market_trend_color,
|
67
|
-
string: ''.ljust(col_just4, ' ')
|
68
|
-
)
|
69
|
-
|
70
52
|
market_trend_win.refresh
|
71
53
|
|
72
54
|
event_history
|
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.352
|
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-12-
|
11
|
+
date: 2022-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -226,14 +226,14 @@ dependencies:
|
|
226
226
|
requirements:
|
227
227
|
- - '='
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: 1.
|
229
|
+
version: 1.41.0
|
230
230
|
type: :runtime
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - '='
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: 1.
|
236
|
+
version: 1.41.0
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
238
|
name: rubocop-rake
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|