get historical data from the past to the present yahoo finance api
Calendar from =Calendar.getInstance();Calendarto=Calendar.getInstance();
from.add(Calendar.YEAR,-5);// from 5 years agoStock google =YahooFinance.get("GOOG", from,to,Interval.WEEKLY);