Hello,
I am may be a little late as the last message was created on 2008.
I am speaking with the GFT people, and it seems that the API concerns on the FX, and not the CFD's. Anyone can confirm ?
If somebody know very good the API, I would like to know some points :
I programmed a simple strategy that allows me to buy lots when there is a MA Crossup, and sell lots for the MA crossdown and puts some limit order (in case of big profit) ans stop orders ( in case of big lost).
The limits that I meet today in the software is :
- when the strategy stops (for any reason (disconnection, etc...)) the strategy doesn't remember that it puts a limit and a stop, so the strategy cannot cancel them.
- The strategy cannot cancel orders put manually, and it is a real problem.
- The strategy cannot stored a data when it is disconnected (same problem that upside), so the strategy cannot make a reverse order to close the actual position, and doing the reverse order. Why can I not use exitlong() and exitshort() ? Simply because, if there is a disconnection, the strategy won't remember that it is itself that has buy or short the CFD's, so it cannot exit from the trade.
- The last problem that may be the GFT's API should resolve is that I want that the platforme reconnect automatically, if there is a disconnection.
Do you think that this four points are able to be done on the GFT's API ?
Thanks