36

I am interested in writing a small automatic trader for the forex market. I would like to chose my own tools (platform and programming language) and I just need to find a decent API to query the numbers and that accepts requests for trading actions. I guess the ideal would be some web service with a XML API, or similar.

Any ideas?

Hugo
  • 1,065
  • 1
  • 10
  • 11

2 Answers2

10

Check out the InteractiveBrokers API or the Cunningham T4 API. Both are really good, although I'm not exactly sure T4 allows forex trading.

Jared Burrows
  • 54,294
  • 25
  • 151
  • 185
Kiril
  • 39,672
  • 31
  • 167
  • 226
9

MT4 is the industry standard. It allows simple interface through .dll files and has an extensive support base.

Mike Furlender
  • 3,869
  • 5
  • 47
  • 75
  • 2
    except it's a desktop client, that won't work if you want to run an online system I suppose – Christopher Thomas Dec 24 '14 at 14:10
  • DLL files are compatible with .net so you can run them on a .net webserver. – Luke Feb 22 '15 at 12:44
  • There are a hundred ways to run it on/through a webserver. As I said, MT4 allows interface through dll files. That means you can interface with it through anything capable of interfacing with dll files (IIS, Apache, etc) . Additionally, you can use the Windows Desktop App API functions, (ex. https://msdn.microsoft.com/en-us/library/windows/desktop/ms633515%28v=vs.85%29.aspx). Since you can run MT4 on Linux through Wine, this means that you can run it through a Linux-based webserver too. There are lots of other ways. Look up MT4-web bridge. – Mike Furlender May 21 '15 at 15:42