cryptum 0.0.387 → 0.0.388
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cryptum +0 -2
- data/lib/cryptum/event/history.rb +1 -2
- data/lib/cryptum/order_book/generate.rb +0 -2
- 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: a96ddf613cdc94e4883151dd4f6a79e409a0c3fe6b39d8ffc7b8518d3e29215c
|
4
|
+
data.tar.gz: b899801924f9c55990902dbd9977a1b42876d4bc241b6736532d285bc9f078ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7809bad411a8b2ff88376b9dde60351a922f8d1668531a1703b3bd7889b6117767e9beafc501b4bd90ba36ba2f5a959c43578f2b253e4a7a3eeb7df9e9c60b61
|
7
|
+
data.tar.gz: e33718bd1a1a52e925e7930d66ce0bfd19ada6510a06a143ef142fe641b2430170a953994a9cf716f35c4bacdbafcaeef34b82126e0eedff1c9fdd398441f64f
|
data/bin/cryptum
CHANGED
@@ -4,7 +4,6 @@
|
|
4
4
|
|
5
5
|
require 'cryptum'
|
6
6
|
|
7
|
-
start_time = Time.now.strftime('%Y-%m-%d %H:%M:%S%z')
|
8
7
|
# Initialize Driver Name & Parse cryptum Flags
|
9
8
|
driver_name = File.basename($PROGRAM_NAME)
|
10
9
|
option_choice = Cryptum::Option::Parser.get(driver_name: driver_name)
|
@@ -30,7 +29,6 @@ terminal_win = Cryptum::UI.init
|
|
30
29
|
# Load previous order_book_justification from
|
31
30
|
# Order Book File (if it exists)
|
32
31
|
event_history = Cryptum::OrderBook::Generate.new(
|
33
|
-
start_time: start_time,
|
34
32
|
option_choice: option_choice,
|
35
33
|
env: env
|
36
34
|
)
|
@@ -45,7 +45,6 @@ module Cryptum
|
|
45
45
|
|
46
46
|
def initialize(opts = {})
|
47
47
|
option_choice = opts[:option_choice]
|
48
|
-
start_time = opts[:start_time]
|
49
48
|
order_book = opts[:order_book]
|
50
49
|
|
51
50
|
self.bullish_trend = true
|
@@ -75,7 +74,7 @@ module Cryptum
|
|
75
74
|
self.reconnected = false
|
76
75
|
self.red_pill = false
|
77
76
|
self.recalculate_order_plan = false
|
78
|
-
self.start_time =
|
77
|
+
self.start_time = Time.now.strftime('%Y-%m-%d %H:%M:%S%z')
|
79
78
|
|
80
79
|
# -------------------------------------------------- #
|
81
80
|
# SAUCE 3 (SAUCE 4 RELATES TO SAUCE 3)
|
@@ -11,7 +11,6 @@ module Cryptum
|
|
11
11
|
# )
|
12
12
|
|
13
13
|
public_class_method def self.new(opts = {})
|
14
|
-
start_time = opts[:start_time]
|
15
14
|
option_choice = opts[:option_choice]
|
16
15
|
env = opts[:env]
|
17
16
|
|
@@ -65,7 +64,6 @@ module Cryptum
|
|
65
64
|
# are Parsed.
|
66
65
|
event_history = Cryptum::Event::History.new(
|
67
66
|
option_choice: option_choice,
|
68
|
-
start_time: start_time,
|
69
67
|
order_book: order_book
|
70
68
|
)
|
71
69
|
|
data/lib/cryptum/version.rb
CHANGED