cryptum 0.0.305 → 0.0.307

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa6bd3369a06dd9f5d410955b8aca61eb26e5fb0f5a1c348d661fc95e9320dc0
4
- data.tar.gz: 9f8b723a28035a27169b68938714ababac1c458cd54920eae44bb01be9819479
3
+ metadata.gz: faa4809c3c4cd47f2ecad06fde334a0e22956187b01589b22c7856e98763bdf2
4
+ data.tar.gz: e35b9fb12ea5fbb7376b02404488d6ac49b4efee53d7d615dd43eeb40e93bdf7
5
5
  SHA512:
6
- metadata.gz: 72773efa80c1b5f21afbfee9eeaaf336320c05ec880390ea50ba909515423f21cbca47ee76c33dc634b7c37c37a2a8241d11f7dd381d98cb16086b27be7ecaf5
7
- data.tar.gz: 6a9de02de4f2eb3dbb3ab41f85f7e7e7fa07fd6404eea20a87e46c39d10d4c57908190914355487540ff52e2ad94d8b2b439faf76c584761847743fe72e8badd
6
+ metadata.gz: 3cd86f23ba8a783c95ad38a21b78d48091f9f8431dcc932be3e182aa7f41745046f3a47e20a83d44da5ebd714666e69b4a7c946e9969ea274c95ba0a0bd8f56b
7
+ data.tar.gz: d5c343f0738921b46c0befd116ff466922d2c5d135ee1248ab239fce632c204124626eee82e0a7ddb24f477a33b1d4dd51c194512eed137eeb5c64fdde57ded1
@@ -91,16 +91,36 @@ module Cryptum
91
91
 
92
92
  option_choice.market_trend_reset = 60 if option_choice.market_trend_reset.to_i.zero?
93
93
  unless option_choice.market_trend_reset.to_i >= 60 &&
94
- option_choice.market_trend_reset <= 86_400
94
+ option_choice.market_trend_reset <= 604_800
95
95
  usage = true
96
96
  reason = :market_trend_reset
97
97
  end
98
98
 
99
99
  case option_choice.market_trend_reset
100
+ when 604_800
101
+ option_choice.market_trend_reset_label = '1W'
100
102
  when 86_400
101
- option_choice.market_trend_reset_label = 'D'
103
+ option_choice.market_trend_reset_label = '1D'
104
+ when 14_400
105
+ option_choice.market_trend_reset_label = '4h'
106
+ when 10_800
107
+ option_choice.market_trend_reset_label = '3h'
108
+ when 7_200
109
+ option_choice.market_trend_reset_label = '2h'
102
110
  when 3_600
103
111
  option_choice.market_trend_reset_label = '1h'
112
+ when 2_700
113
+ option_choice.market_trend_reset_label = '45m'
114
+ when 2_700
115
+ option_choice.market_trend_reset_label = '45m'
116
+ when 1_800
117
+ option_choice.market_trend_reset_label = '30m'
118
+ when 900
119
+ option_choice.market_trend_reset_label = '15m'
120
+ when 300
121
+ option_choice.market_trend_reset_label = '5m'
122
+ when 180
123
+ option_choice.market_trend_reset_label = '3m'
104
124
  when 60
105
125
  option_choice.market_trend_reset_label = '1m'
106
126
  else
@@ -260,6 +260,7 @@ module Cryptum
260
260
 
261
261
  # ROWS 3-10
262
262
  remaining_blank_rows = 0
263
+ max_rows_to_display = event_history.order_plan_max_rows_to_display
263
264
  remaining_blank_rows = max_rows_to_display if order_plan.empty?
264
265
  if event_history.red_pill
265
266
  out_line_no += 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.305'
4
+ VERSION = '0.0.307'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.305
4
+ version: 0.0.307
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.