Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 975 Bytes

README.md

File metadata and controls

54 lines (35 loc) · 975 Bytes

Java Stocks

A super simple library to help you retrieve stock data using the Yahoo Finance hidden API.

How it works

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.

Usage

Stock facebook = StockFetcher.getStock("FB");

Methods

The library currently supports the following methods:

getPrice();
getVolume(); 
getPe(); 
getEps(); 
getWeek52high(); 
getWeek52low(); 
getDaylow(); 
getDayhigh(); 
getMovingav50day(); 
getMarketcap();

Testing

To test the library, run StockTest.java as a jUnit Test.

Coming Soon

  • Retrieve Mutliple Stocks at Once
  • More Methods
  • View Stock Currency

Contributors

Special Thanks To:

License

  • No Warranty Expressed or Implied. Sofware is as is.
  • MIT License