lib/cryptum/order_book/generate.rb in cryptum-0.0.387 vs lib/cryptum/order_book/generate.rb in cryptum-0.0.388
- old
+ new
@@ -9,11 +9,10 @@
# symbol: 'required - target symbol (e.g. btc-usd)',
# this_product: 'required - this_product',
# )
public_class_method def self.new(opts = {})
- start_time = opts[:start_time]
option_choice = opts[:option_choice]
env = opts[:env]
session_root = option_choice.session_root
symbol = option_choice.symbol
@@ -63,10 +62,9 @@
# Instantiate Event History attr_accessible
# Object to Keep Track of Everything as Events
# are Parsed.
event_history = Cryptum::Event::History.new(
option_choice: option_choice,
- start_time: start_time,
order_book: order_book
)
if File.exist?(order_book_file)
order_book = JSON.parse(