lib/cryptum/ui/ticker.rb in cryptum-0.0.304 vs lib/cryptum/ui/ticker.rb in cryptum-0.0.305

- old
+ new

@@ -5,14 +5,14 @@ module Cryptum # This plugin is used to Refresh the Cryptum console UI module UI module Ticker public_class_method def self.refresh(opts = {}) - option_choice = opts[:option_choice] + # option_choice = opts[:option_choice] start_time = opts[:start_time] ticker_win = opts[:ticker_win] - key_press_event = opts[:key_press_event] + # key_press_event = opts[:key_press_event] order_book = opts[:order_book] event = opts[:event] this_product = order_book[:this_product] quote_increment = this_product[:quote_increment] @@ -109,10 +109,10 @@ trend = 'FLAT' margin_percent_open_24h_color = :yellow margin_percent_open_24h_out = "#{Cryptum.flat_arrow} #{beautify_margin_percent_open_24h}% (#{trend})" end - current_time_out = Time.now.strftime('%Y-%m-%d %H:%M:%S%z') + # current_time_out = Time.now.strftime('%Y-%m-%d %H:%M:%S%z') order_history = order_book[:order_history] open_sell_orders = order_history.select do |order| order[:status] == 'open' && order[:side] == 'sell' end