bin/cryptum in cryptum-0.0.315 vs bin/cryptum in cryptum-0.0.316
- old
+ new
@@ -22,33 +22,31 @@
end
# Instantiate Our Status Indicators & History Objects
indicator_status = Cryptum::OrderBook::Indicator.new
- # Automatically Create Bot Confs if they don't
- # Exist and Initialize Automated Trading Parameters
- bot_conf = Cryptum::BotConf.read(option_choice: option_choice)
-
# Initialize Curses UI
terminal_win = Cryptum::UI.init
# Generate an Order Book for Session Tracking
# Load previous order_book_justification from
- # Order Book File (if it exists) to preserve
- # Order Tags and load last 180 candles from
- # Coinbase
+ # Order Book File (if it exists)
event_history = Cryptum::OrderBook::Generate.new_order_book(
start_time: start_time,
option_choice: option_choice,
- env: env,
- bot_conf: bot_conf,
- terminal_win: terminal_win
+ env: env
)
- terminal_win.key_press_event.key_w = true
+ # Automatically Create Bot Confs if they don't
+ # Exist and Initialize Automated Trading Parameters
+ bot_conf = Cryptum::BotConf.read(
+ option_choice: option_choice,
+ event_history: event_history
+ )
+
# Connect to WebSocket
# Trigger Events as Event Data
- # is Generated via Coinbase Pro
+ # Generated via Coinbase Pro
# Web Socket HTTP Responses
# Refresh UI with Event Data
# Update "Status Indicators"
# Leverage "Status Indicators" to Initiate Actions
Cryptum::WebSock::EventMachine.run(