bin/cancel_orders in ib-ruby-0.7.0 vs bin/cancel_orders in ib-ruby-0.7.2

- old
+ new

@@ -11,10 +11,10 @@ require 'bundler/setup' require 'ib-ruby' # First, connect to IB TWS. -ib = IB::Connection.new :client_id => 1112 # Arbitrary id to identify your script +ib = IB::Connection.new :client_id => 1112 #, :port => 7496 # TWS # Subscribe to TWS alerts/errors and order-related messages ib.subscribe(:Alert, :OpenOrder, :OrderStatus, :OpenOrderEnd) { |msg| puts msg.to_human } if ARGV.empty?