roberto-simoni/trade4crumbs — pull request #2 by roberto-simoni (2012-11-14 16:25:25+00:00)
Title: It is impossible to use indices...

Using:
java -jar target/trade4crumbs-1.0-SNAPSHOT.jar ^FTSEMIB.MI
application returns:
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: http://ichart.yahoo.com/table.csv?s=^FTSEMIB.MI&a=0&b=1&c=2000&d=10&e=12&f=2012&g=w&ignore=.csv
at trade4crumbs.HistoricalQuote.download(HistoricalQuote.java:117)
at trade4crumbs.HistoricalQuote.quote(HistoricalQuote.java:39)
at trade4crumbs.HistoricalQuote.closePrice(HistoricalQuote.java:44)
at trade4crumbs.RateOfChange.value(RateOfChange.java:30)
at trade4crumbs.RateOfChange.isLongTrend(RateOfChange.java:24)
at trade4crumbs.Stock.trend(Stock.java:32)
at trade4crumbs.Trade4Crumbs.list(Trade4Crumbs.java:22)
at trade4crumbs.Trade4Crumbs.main(Trade4Crumbs.java:35)
Caused by: java.io.FileNotFoundException: http://ichart.yahoo.com/table.csv?s=^FTSEMIB.MI&a=0&b=1&c=2000&d=10&e=12&f=2012&g=w&ignore=.csv
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
at java.net.URL.openStream(URL.java:1010)
at trade4crumbs.HistoricalQuote.download(HistoricalQuote.java:111)
... 7 more