My name is Greg Winn I am a web developer, specializing in web application development. Take a look at some of my projects, then drop me a line.
View older articles.
Most of my projects can be followed on Github (@gregwinn)
This Ruby on Rails gem named Ystock will pull stock information such as price, volume, and change from Yahoo! Finance.
This small but powerful PHP “micro” framework is a result from another project. We started using a “micro” framework called NiceDog.
An older project but still have users looking for it! This is hosted over at Google Code.
This gem is simple to use and will allow you to pull quotes from Yahoo Finance. Yahoo Finance (YF) is a leading provider of investing news and quotes to both individual and institutional investors. yStock will also allow you to pull quotes from Google Finance. While the GF feature is in beta it can provide some additional data that the YF quote will not provide.
Using yStock is really easy! Below are some instructions on how to get a quote from both Yahoo and Google.
gem 'ystock', '0.3.8'
Ystock.get_stock('F')
# => Now with two stocks
# => Ford and Apple
Ystock.find(['aapl', 'f'])
Ystock::Google.get_quote('F')
# => Now with two stocks
# => Ford and Apple
Ystock::Google.find(['aapl', 'f'])
That’s right! yStock is on Github and is available for all to use! If you have questions, comments or issues please let me know (on Github) open a ticket. yStock gem on Github.