FXcm API?
MoneyTec › Forums › Tools of the Trade › FXcm API?
- This topic has 35 replies, 1 voice, and was last updated 6 years, 5 months ago by fxtrd.
-
AuthorPosts
-
Nov 16, 2017 at 10:11 pm #1261iamtheoneGuest
- 552
Ok, this thread needs a bump, so here goes. I have been trying for some time to create a custom program for automation of trades with FXCM. I don’t even want this related to their software since their software has a penchant for crashing.
What my current plan is, is to take their DLLs import them into a program of my creation, and use this for my automated trading solution. I am going to first try and just create a program that can log in to their server and make a simple trade, then log out. After that, I plan on making one that can do this for all pairs. Then I plan on adding the ability to grab the indicators. Then I will achieve my final desire which is a program that can take those indicators, process them and compare them against my own logic, and make trades.
This is easier to say than do though. I am using Visual Studio .NET 2003 (haven’t tried with 2005 yet). I started off by running regsvr32 on all the DLLs that come with FXCM. I was then able to create a new project which imported most of those DLLs. It looks like the DLLs that contain most of the functions are FXCORE.DLL and CHARTPLUGIN.DLL (for the indicators).
I am currently fumbling my way through trying to open a basic connection to their servers. Any help would be appreciated. If anyone is interested in helping out, just post your findings here.
10Nov 16, 2017 at 10:12 pm #1262MickMasonGuest- 552
Sorry, don’t know anything about IT but why are you bothering to do it yourself? FXCM have a System Execution Desk for automated systems, they say it’s monitored 24/7 in case the strategy goes out of whack.
How would you address problems like connection issues if your computer or connection crashed and missed one leg of a trade and such?
As I say, I don’t know a lot about api’s and IT but I would think any automated system needs a safety net in case of technical problems.
2c…..change please
10Nov 16, 2017 at 10:12 pm #1263NjZGuest- 552
Why don’t you just use the web service API specifically designed for this purpose?
00Nov 16, 2017 at 10:12 pm #1264farmboythefirstGuest- 552
I wonder would there be enough interest/skills to set up a casual group to develop an open source application that could be used for automation?
00Nov 16, 2017 at 10:13 pm #1265Pimpbot5000Guest- 552
Actually, if you go to fxprogrammers/com you can get the API for interaction with FXCM. They call it FX Order 2 Go. It’s basically a bunch of DLLs and what not that are used for inteacting with FXCM’s servers.
As for reasons why you would want to do this, well there are plenty. All you need is a good connection, a UPS and a computer that you haven’t screwed with too much (to avoid crashes). You can let your program run from Sunday to Friday and be fine as long as you make sure to put in limits and stop losses you would be fine regardless of connection problems or programatic errors.
The only thing that I have an issue with, is that FXCM doesn’t provide a way to retrieve historical data, such as OHLC or indicators from previous periods. I have started pestering about this in their forums. Hopefully if enough people make noise about that one, they will release something.
10Nov 16, 2017 at 10:13 pm #1266fxtrdGuest- 552
One year ago I was developing a trading robot for the FXCM platform
using dynaorder. Now I am back to the project but when trying dynaorder
cannot log in and also I see the site dyanorder.com is dead.Yes one year ago I can log and send orders.
The last version I have of dyanorder is 20050301.
Can anyone supply with a new version (workable) or an alternative product ?
10 -
AuthorPosts
- You must be logged in to reply to this topic.