Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 459 Bytes

README.rdoc

File metadata and controls

34 lines (20 loc) · 459 Bytes

Ystock

Get stock information from Yahoo Finance

Install

gem install ystock

Add it to your Gemfile

gem ‘ystock’

Usage

This gem uses Yahoo Finance (yahoo.finance.com) to get stock quotes. Remember the delay is up to 20 mins.

stock = ‘aapl’ Ystock.get_stock(stock) # Returns an array #### # :symbol # :price # :change # :volume Get multiple stock information at once.

Ystock.find([‘aapl’, ‘goog’, ‘lcre’])

Build by

Greg Winn