cryptum 0.0.458 → 0.0.459
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: 8f3b6200242a459e04498dab907ff8783a894ff294fa4b6b29a9df2c36b9075c
|
4
|
+
data.tar.gz: 21e6dfd76ef7972d8b4a1c237b71bc9fa29453cc3aae489bb0b38f1276e6de89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdd2b25fe0661067796f1ac6ef882a1fbb85fda5e31e5855f682d871fdf03a37567e83875810c80d12070b893f4bfc8c8c91d5a94c06b6e0a999fa002362cc1a
|
7
|
+
data.tar.gz: 84647d1b24aee7bd44989410974ea78f7f8e2e3bf629077d0e4e57bc7820bcdac7dac9b9d0112e60486933077db5140b77c549e14c4748d67704fb5d3d2ed786
|
@@ -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