obtener datos históricos desde el pasado hasta el presente yahoo finanzas de la api
Calendar from = Calendar.getInstance();
Calendar to = Calendar.getInstance();
from.add(Calendar.YEAR, -5); // from 5 years ago
Stock google = YahooFinance.get("GOOG", from, to, Interval.WEEKLY);