cryptum 0.0.408 → 0.0.409

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: 7697401b1b7ec81f2d65243808327c90231db0f893129bc9964766228bf88900
4
- data.tar.gz: 1974a5be8c924874a519736d3c44dc385c8692725c9ec3be5a2d58c5dcf534f5
3
+ metadata.gz: 72778ff2894ca9c7b077fdbcb786892e5ce518b408446bf48a7283eff801f641
4
+ data.tar.gz: 8806dbbf4bb6168ec18f57341a558b7e99961d4ad7cafacf73cc6adc0258387a
5
5
  SHA512:
6
- metadata.gz: 9aee8f8313e63e1f9446425e80f09e371c09d4dfe33b49f20aa41a6fbeebff87a69636ecbf684775e0b2d80f17b9447d9a874dd6fec70ff61e27865639ba69f8
7
- data.tar.gz: 97262bfda3133cdbc7d20d3b20259f54f0420dfea493e1ca1e30192df57642ebd07a4a09a5c5274ce769c34be3a892338b2bcc8515f763416c41d69bda0ad04a
6
+ metadata.gz: eed72e7066b9581e1b5b07242d4398274da59924f57dfcd586c009cffe29a3b54ffb9474e0089f7db3fc1300d8085c3ffcd842d578b5ed61c06e86419e6dac0f
7
+ data.tar.gz: b5899b80baf35c92348e2c687baf6746bc7ff50606246cc94857d6b1d8f3066b4bd4ec19150fa33b7ae433f8cb43886459629853f0ad84e4f3fd366e2794b1ed
@@ -84,7 +84,12 @@ module Cryptum
84
84
  event_history.order_book[:market_trend][:sell] = 0
85
85
  event_history.order_book[:last_trend_reset] = Time.now.strftime(ftimestr)
86
86
  event_history.order_book[:last_order_exec] = Time.now.strftime(ftimestr)
87
+
88
+ msg = 'Market Trend and Order Timers Reset'
89
+ else
90
+ msg = 'Market Trend and Order Timers Preserved from Previous Session'
87
91
  end
92
+ Cryptum::Log.append(level: :info, msg: msg, which_self: self, event_history: event_history)
88
93
 
89
94
  event_history
90
95
  rescue Interrupt, StandardError => e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.408'
4
+ VERSION = '0.0.409'
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.408
4
+ version: 0.0.409
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.