bin/cancel_orders in ib-ruby-0.7.3 vs bin/cancel_orders in ib-ruby-0.7.4

- old
+ new

@@ -4,12 +4,9 @@ # or ALL Orders opened via IB API at once. The latter is useful when your # robot goes crazy and opens gazillions of wrong limit orders. require 'rubygems' require 'pathname' -LIB_DIR = (Pathname.new(__FILE__).dirname + '../lib/').realpath.to_s -$LOAD_PATH.unshift LIB_DIR unless $LOAD_PATH.include?(LIB_DIR) - require 'bundler/setup' require 'ib-ruby' # First, connect to IB TWS. ib = IB::Connection.new :client_id => 1112 #, :port => 7496 # TWS