Live FOREX data for PHP

I am creating an application where I need live FOREX (currency data). I could grab it from the yahoo page by loading the html in PHP and then fetch the data. But I don't like it. So I would like to ask if you know any of the other free forex resources that can be loaded into PHP?

+2


source to share


4 answers


YQL is good for collecting web data: http://developer.yahoo.com/yql/



+2


source


The European Central Bank provides exchange rates for some foreign currencies as an easy to parse XML document: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml (there is even a sample PHP script available).



+1


source


Not free, but it might be worth looking at everything: http://www.oanda.com/channels/business/business.shtml#data

+1


source


I had the same problem and my solution was to start MetaTrader4 and write a tiny custom EA for HTTP. GET the current o / h / l / c / b / a for PHP script, which then dumps it to MySQL databases. The next step is to write some scripts to plot data charts using PHPlot. :)

+1


source







All Articles