I am trying to load up some stock charts for a quick
review. I can load the pages without a problem.
However I get three open pages where I want to open
and then reload. Any thoughts? The following give
this error "open_web.rb:10:in method_missing': Unknown property or method
reload’
(WIN32OLERuntimeError)
require ‘win32ole’
symbol = [‘xle’, ‘xlf’]
web_page =
WIN32OLE.new(‘InternetExplorer.Application’)
web_page.visible = true
web_page.navigate(“http://finance.yahoo.com/charts#chart3:symbol=spy;range=3m;indicator=sma(10,20)+split+macd+volumema(20);charttype=ohlc;crosshair=on;logscale=on;source=undefined.”)
symbol.each do |x|
sleep 10
web_page.reload(“http://finance.yahoo.com/charts#chart3:symbol=spy;range=3m;indicator=sma(10,20)+split+macd+volumema(20);charttype=ohlc;crosshair=on;logscale=on;source=undefined.”)
end