Free Forex Historical Data.
At Yahoo Finance, you get free stock quotes, up-to-date news, portfolio management resources, international market data, social interaction and mortgage rates that help you manage your financial life. 27 rows · Currency information from Yahoo Finance. Find the latest currency exchange rates, forex .
Lookup or query multiple currencies 2. Output the results as either an associative array or a standard class object. At this point I should explain that each line of data would be returned as an array with numerical keys.
So the first step in building the solution is to find a way of exchanging the numerical keys with something more useful. Adding Useful Array Keys To address this issue we will first create a way to change the numeric keys to some useful values. This helps us crate our associative array later on, and it also makes more sense if we convert the results to a standard class object. This pair of functions would do that very nicely. We now turn to the function that really puts this solution into gear, and delivers our desired results.
Loop through the targets and perform lookup on Yahoo! Those comments should pretty much explain what it does, and how. Just put this function together with the others, stick them into your web project and you have the complete setup to grab those exchange rates.
Now let us look at a typical implementation and the parameters we can pass to our function. The currency code of your choice, and for which you wish to get exchange rates.
Add additional target currencies if desired. This determines whether to output associative array or standard class object. And there you go! I hope you find this useful for your projects, and have fun getting those exchange rates. Here is a somewhat more complete set of currencies You can simply use a WebClient.
Mark 1, 3 18 Romain 5, 2 27 That FED Data is the ticket. Thank you very much. Actually, there is a way to get exchange rates historical data for free from Yahoo Finance. Vasyl Shyrochuk 2 9. NoNaMe 4, 20 62 The link does not work. Sougata Pal 1 3. I don't believe Forex X-rate would be hosted on herokuapp.
See Data Download Program to retrieve csv, xls, xml historical data. On to other things.
Software that copies trades between MT4 and MT5 terminals provided by any broker and vice versa.