Skip to content

jainaayush05/YahooStockAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YahooStockAPI

A JAVA Interface for Yahoo Finance API

Usage:

Import StockAPI.java and StockModel.java to you package and add it to build path

StockModel stock = StockAPI.getStockData("GOOG");
String price= stock.getPrice();
String change= stock.getChange();
String day_high= stock.getDayHigh();
String day_low= stock.getDayLow();
String year_high= stock.getYearHigh();
String year_low= stock.getyearLow();
String open= stock.getOpen();
String close= stock.getPrevClose();
String cap= stock.getMarketCap();
String vol= stock.getVolume();
String last_updated= stock.getLastUpdated();
String change= stock.getChangePercent();
String url_small= stock.getChartUrlSmall();
String url_large= stock.getChartUrlLarge();

Download prebuilt jar from here: http://dl.dropbox.com/u/61561776/YahooAPIAayush.jar

About

This is a JAVA API to get Yahoo finance data.(JAVA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages