0

Yahoo Finance currencies API returns odd values

Hello,

I'm using Yahoo! finance's API in order to get the currency rate of USD->CAD and USD->EUR. Everything's working great most of the time, but sometimes the "last updated" field gets really odd. According to the data I receive, the last update of the currency sometimes is in the future (by like 12 hours).

Ex : It is currently 11:10AM EST. Yahoo!'s API gives me the following :
"USDCAD=X",1.2269,"4/10/2009","11:04am"
"USDEUR=X",0.7611,"4/10/2009","8:10pm"


Is this a known bug? or am I doing something wrong?

Thanks
Jimmy

by
2 Replies
  • Edit : Ooops. I forgot to add... This is the link that I use.
    http://download.finance.yahoo.com/d/quotes...DCAD=X+USDEUR=X
    0
  • I m not a programmer so I can't tell you if your script is wrong or not... but as a financier, currency markets are usually timed in different timezone because the currency market is open 24hours. So if market in east coast is closed, Asia is usually open (which is 12 hours a day ahead)

    Hope that helps.



    QUOTE (jbourassa@... @ Apr 10 2009, 07:13 AM) <{POST_SNAPBACK}>
    Hello,

    I'm using Yahoo! finance's API in order to get the currency rate of USD->CAD and USD->EUR. Everything's working great most of the time, but sometimes the "last updated" field gets really odd. According to the data I receive, the last update of the currency sometimes is in the future (by like 12 hours).

    Ex : It is currently 11:10AM EST. Yahoo!'s API gives me the following :
    "USDCAD=X",1.2269,"4/10/2009","11:04am"
    "USDEUR=X",0.7611,"4/10/2009","8:10pm"


    Is this a known bug? or am I doing something wrong?

    Thanks
    Jimmy
    0

Recent Posts

in General Discussion at YDN