cryptum 0.0.301 → 0.0.303
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_execution.rb +1 -0
- data/lib/cryptum/ui/order_plan.rb +2 -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: 44095bddd33f0c26be28ab2ce086ae1199f59b0aedfde689a4dac8fc0e87852e
|
4
|
+
data.tar.gz: d5096ba2a7ae95dbd1897e91d1bbe24b28751eae1a7c98770eef4f7d4d2e0a2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fdd97548c0e7db8423338b38484b1b642309e261cb58e8f2e488f743156461a2c2611f6e884f55f19acd8cf932311d334f26425c602bebc0e600955f2afcd2b
|
7
|
+
data.tar.gz: 2e7ddc39484bcb365cf80fce8b97b3fe8807b329b4f86ac36f1e744e58e5a02f7f156b0d5909851bd85d075198071ffe86d4bca0cff1ba36e7fc42963562d373
|
@@ -426,6 +426,7 @@ module Cryptum
|
|
426
426
|
event_history.order_execute_index_offset = first_row
|
427
427
|
remaining_blank_rows = max_rows_to_display - last_row
|
428
428
|
end
|
429
|
+
remaining_blank_rows = max_rows_to_display if order_history_meta.empty?
|
429
430
|
|
430
431
|
if order_history_meta.any?
|
431
432
|
selected_order = event_history.order_execute_selected_data
|
@@ -349,6 +349,7 @@ module Cryptum
|
|
349
349
|
event_history.order_plan_index_offset = first_row
|
350
350
|
remaining_blank_rows = max_rows_to_display - last_row
|
351
351
|
end
|
352
|
+
remaining_blank_rows = max_rows_to_display if order_plan.empty?
|
352
353
|
|
353
354
|
selected_order = event_history.order_plan_selected_data
|
354
355
|
order_plan[first_row..last_row].each do |order|
|
@@ -417,7 +418,7 @@ module Cryptum
|
|
417
418
|
# (Only Applicable if order_book[:order_plan] < max_rows_to_display)
|
418
419
|
out_line_no += 1
|
419
420
|
rows_to_blank = (out_line_no + remaining_blank_rows) - 1
|
420
|
-
(out_line_no..
|
421
|
+
(out_line_no..rows_to_blank).each do |clr_line|
|
421
422
|
out_line_no = clr_line
|
422
423
|
order_plan_win.setpos(clr_line, Cryptum::UI.col_first)
|
423
424
|
Cryptum::UI.colorize(
|
data/lib/cryptum/version.rb
CHANGED