cryptum 0.0.458 → 0.0.460
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/ui/order/execute_details.rb +9 -1
- data/lib/cryptum/ui/order/plan_details.rb +5 -10
- 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: 9d494cae62a763c70e5b55d867193eb9632627cc8c840ab7610b9924aa402b72
|
4
|
+
data.tar.gz: '08f1176f763b9846c57f3b82f6f0149dc391082739ed143912ee35d5c517013f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4280286449327a91d6cead5a29f07acbd1c91c720a707a1ca37ba0ef7b1f2d1383eb27f6d4348c3c938ee9464fcb61f56124ec58044bf51fd8e00de72aee76f0
|
7
|
+
data.tar.gz: 80812d19d530192af68f94736c8876ead5f4c298e5d1bbff821db57e68d85728912ad5816845002e2714c315051873f570f6978a981354795621e4970ccd0ab9
|
@@ -114,7 +114,7 @@ module Cryptum
|
|
114
114
|
details_ln3 = "- Executed Value: $#{executed_value} | Market Type: #{market_type} | Settled: #{settled}"
|
115
115
|
|
116
116
|
# UI
|
117
|
-
col_just1 = (Curses.cols - Cryptum::UI.col_first)
|
117
|
+
col_just1 = (Curses.cols - Cryptum::UI.col_first)
|
118
118
|
|
119
119
|
# ROW 1
|
120
120
|
out_line_no = 0
|
@@ -238,6 +238,14 @@ module Cryptum
|
|
238
238
|
string: details_ln3.ljust(col_just1, ' ')
|
239
239
|
)
|
240
240
|
|
241
|
+
# ROW 10
|
242
|
+
out_line_no += 1
|
243
|
+
Cryptum::UI.line(
|
244
|
+
ui_win: order_execute_details_win,
|
245
|
+
out_line_no: out_line_no,
|
246
|
+
color: line_color
|
247
|
+
)
|
248
|
+
|
241
249
|
# Clear to OK ROW
|
242
250
|
ok_row = 10
|
243
251
|
out_line_no += 1
|
@@ -53,11 +53,10 @@ module Cryptum
|
|
53
53
|
slice_alloc_ln2_details = " slice of $#{previous_slice_invest_out} results in $#{invest_out} being allocated for this slice."
|
54
54
|
end
|
55
55
|
profit_ln1_details = "3. With a slice allocation of $#{invest_out}, plus a TPM equal to #{tpm_out}%, $#{return_out} will be returned"
|
56
|
-
profit_ln2_details = " once sold. With $#{invest_out} invested, the gross profit equals $#{profit_out}, minus any
|
57
|
-
profit_ln3_details = ' Taker (transaction) fees.'
|
56
|
+
profit_ln2_details = " once sold. With $#{invest_out} invested, the gross profit equals $#{profit_out}, minus any fess."
|
58
57
|
|
59
58
|
# UI
|
60
|
-
col_just1 = (Curses.cols - Cryptum::UI.col_first)
|
59
|
+
col_just1 = (Curses.cols - Cryptum::UI.col_first)
|
61
60
|
|
62
61
|
# ROW 1
|
63
62
|
out_line_no = 0
|
@@ -171,14 +170,10 @@ module Cryptum
|
|
171
170
|
|
172
171
|
# ROW 9
|
173
172
|
out_line_no += 1
|
174
|
-
|
175
|
-
order_plan_details_win.clrtoeol
|
176
|
-
|
177
|
-
Cryptum::UI.colorize(
|
173
|
+
Cryptum::UI.line(
|
178
174
|
ui_win: order_plan_details_win,
|
179
|
-
|
180
|
-
|
181
|
-
string: profit_ln3_details.ljust(col_just1, ' ')
|
175
|
+
out_line_no: out_line_no,
|
176
|
+
color: line_color
|
182
177
|
)
|
183
178
|
|
184
179
|
# Clear to OK ROW
|
data/lib/cryptum/version.rb
CHANGED