-
Notifications
You must be signed in to change notification settings - Fork 0
A simple Ruby on Rails plugin to get historical stock quotes from Yahoo
License
medius/hquote
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Hquote: A simple Ruby on Rails plugin to get historical stock quotes from Yahoo
Author: Puru Choudhary (puruchoudhary@gmail.com)
-------------------------------------------------
Usage:
-----
quote_req = {:symbol=>"aapl",:start_month=>"0",:start_date=>"1",:start_year=>"2011",
:end_month=>"2",:end_date=>"14",:end_year=>"2011",:period=>"d"}
Hquote.get_ohlcv(quote_req)
=> [{:date=>"2011-03-11", :open=>"345.33", :high=>"352.32", :low=>"345.00",
:close=>"351.99", :volume=>"16813300", :adj_close=>"351.99"}, {:date=>"2011-03-10",
:open=>"349.12", :high=>"349.77", :low=>"344.90", :close=>"346.67", :volume=>"18126400",
:adj_close=>"346.67"}, .... ]
Credit: This work is derived from John Yerhot's rQuote plugin
https://github.com/johnyerhot/rquote
About
A simple Ruby on Rails plugin to get historical stock quotes from Yahoo
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published