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 +4 -4
- data/lib/cryptum/order_book/generate.rb +5 -0
- 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: 72778ff2894ca9c7b077fdbcb786892e5ce518b408446bf48a7283eff801f641
|
4
|
+
data.tar.gz: 8806dbbf4bb6168ec18f57341a558b7e99961d4ad7cafacf73cc6adc0258387a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/cryptum/version.rb
CHANGED