bin/option_data in ib-ruby-0.7.4 vs bin/option_data in ib-ruby-0.7.6
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby
#
# This script subscribes to market data for a list of Options
require 'rubygems'
-require 'pathname'
require 'bundler/setup'
+$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'ib-ruby'
# Definition of what we want market data for. We have to keep track of what ticker id
# corresponds to what symbol ourselves, because the ticks don't include any other
# identifying information. The choice of ticker ids is, as far as I can tell, arbitrary.