I am using yahoos stock api to pull information for my java application, I can pull high and low using
URL yahoofinance = new URL("http://finance.yahoo.com/d/quotes.csv?s=" +
stocks[0] + "+" + stocks[1] + "&f=hg");
I figure that f=hg is for high and low of the stock but how could I pull P/E and other key metrics necessary for analytics?