Show latest trade price of stocks in console
Depends on Yahoo-finance gem by herval https://github.com/herval/yahoo-finance
YahooFinance.quotes(stocks, [:last_trade_price]).each{|x| puts x.symbol + ': ' + x.last_trade_price}
Show latest trade price of stocks in console
Depends on Yahoo-finance gem by herval https://github.com/herval/yahoo-finance
YahooFinance.quotes(stocks, [:last_trade_price]).each{|x| puts x.symbol + ': ' + x.last_trade_price}