Home Forums download data from Yahoo

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1851
    hessinemaaoui
    Keymaster

    Well, i had difficulties in downloading yahoo time series data while running demo010.

    At first an host name not found exception was thrown. After replacing “ichart.finance.yahoo.com” with IP the following exception occurred:

    16:55:07.191 [main] INFO  c.n.a.d.cache.source.yahoo.YahooEOD Рreading Yahoo! data from the Internet
    Exception in thread “main” java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at com.numericalmethod.algoquant.data.cache.source.yahoo.YahooEODWebDownloader.(YahooEODWebDownloader.java:75)
    at com.numericalmethod.algoquant.data.cache.source.yahoo.YahooEOD.(YahooEOD.java:77)
    at com.numericalmethod.algoquant.demo.macrossover.Demo010.main(Demo010.java:43)

    Strangely the file could be downloaded in web browsers using the url generated, but failed in JAVA.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.