A super simple library to help you retrieve stock data using the Yahoo Finance hidden API.
Yahoo Finance allows stock data to be downloaded in CSV format. All we have to do is take that CSV file and parse it to get our data. Easy.
Stock facebook = StockFetcher.getStock("FB");
The library currently supports the following methods:
getPrice();
getVolume();
getPe();
getEps();
getWeek52high();
getWeek52low();
getDaylow();
getDayhigh();
getMovingav50day();
getMarketcap();
getName();
getCurrency();
getShortRatio();
getPreviousClose();
getOpen();
getExchange();
To test the library, run StockTest.java as a jUnit Test.
Special Thanks To: