almost live forex currency rates [closed]
Asked Answered
T

3

32

I need to get live forex exchange rates for my personal application. I know that there's no free service that has this data available for download. I've been using Yahoo Finance, but I've just found out that it has a delay of 15 minutes or so. Is there any way I could get fresher rates somewhere? Say, 5-minute old instead of 15?

Many forex brokers offer free "informers" that autoload data in an interval of seconds, so maybe there's a few that allow this data to be downloaded in bigger intervals without the use of their informers strictly for personal use?

Twosided answered 26/7, 2010 at 13:7 Comment(2)
5 minute lag is not live data and there's services like that all over the web. So i don't think it's stupid to wonder if there might be something like that for forex as well.Twosided
please stop priggishly closing things. these are helpful posts, stop being such snobs.Radiothorium
N
54

TrueFX has free real-time (multiple updates per second) forex quotes, but only for a limited number of pairs: http://webrates.truefx.com/rates/connect.html?f=html

They also have free downloadable tick data for the same pairs, going back to May 2009: http://truefx.com/?page=downloads

You can get real-time quotes for a larger selection of pairs from FXCM: http://rates.fxcm.com/RatesXML

Realtime rates for about 40 currency pairs are available here: http://1forge.com/forex-data-api, eg: https://1forge.com/forex-quotes/quotes

They also have free downloadable tick-data, going back to 2007, but you need to create a demo account and use a COM based Windows API called Order2Go to retrieve it.

They promised that they will make available the same tick data in CSV format for free sometime this year here: http://www.forexcodesource.com/index.php/Category:Historical_Data

Nag answered 13/10, 2010 at 22:38 Comment(4)
You have to poll fxcm to see if the rates changed, so it's not real-time.Rozanna
@Arron - the only "real-time" quotes are the ones seen by the co-located high-frequency trading algorithms. Everything else is indicativeNag
webrates.truefx.com/rates/connect.html?f=html&c=EUR/USD That I needed, thanksZela
cant I get response with ajax request? from rates.fxcm.com/RatesXMLTwice
R
6

Here are a bunch of equity/fx data providers, however they are not free.

http://finviz.com/store/market-data-providers.ashx

If you're trying to keep everything free, then you'll probably have to hack something together.

For example, in MT4 there is a DDE hook that you can use to broadcast the quotes. You'll need a windows box(or vm) running MT4 and an app listening to the DDE server, that would forward the quotes off to your linux server via a TCP socket, or even HTTP. The lag should be less than a second if done right.

Here's the .net library I use to receive the DDE quotes.

http://www.4xlab.net/cs/forums/136/ShowPost.aspx

Also, if you are looking for historical tick data, then this is a great source.

http://ratedata.gaincapital.com/

Rozanna answered 3/2, 2011 at 19:21 Comment(0)
P
4

download metatrader from any broker, and write an expert adviser to log all the data you want to a file. have another process that read the file. if you really want to get fancy, you can call c functions from mt4 code. its not that hard to write some c code to store data to a db instead of logging it to a file.

Purport answered 15/8, 2010 at 3:28 Comment(4)
Thought about that. The platform runs linux though so ... won't be able to do that.Twosided
MT4 runs fine in WINE, although obviously won't on a headless VPS or other typical Linux server setups.Cagliostro
@MarkKCowan You need a graphical terminal to set it up, but once it's set up, you can launch MT4 from a script and it will resume where you left it.Missile
polygon.io has free forex streams. Real time, low latency.Mayorga

© 2022 - 2024 — McMap. All rights reserved.