bin/option_data in ib-ruby-0.5.14 vs bin/option_data in ib-ruby-0.5.15
- old
+ new
@@ -39,9 +39,9 @@
ib.send_message :RequestMarketData, :id => id, :contract => contract
end
puts "\nSubscribed to market data"
puts "\n******** Press <Enter> to cancel... *********\n\n"
-gets
+STDIN.gets
puts "Cancelling market data subscription.."
@market.each_pair { |id, contract| ib.send_message :CancelMarketData, :id => id }