ForexConnect API beta version 1.1.3 has been released.
Breaking ChangeThe order2go2 library and the Order2Go2.h header file were renamed ForexConnect and ForexConnect.h, respectively.
This is a breaking change that affects all ForexConnect C++ applications. Note that the change does not affect ForexConnect Java, .NET, and C applications.
Please see the article that discusses how to modify your current ForexConnect C++ project to use it with ForexConnect 1.1.3 or higher in wiki:
Change in ForexConnect UsageChanges- A new order types: Open Limit and Close Limit.
ForexConnect allows creating Open Limit and Close Limit orders. An Open Limit (Close Limit) order opens (closes) a position at the specified market rate or at a more favorable rate in case such rate is available on the market. To create an order, specify "OL" ("CL") in the OrderType parameter for valuemap. - A new method setApplicationID.
The method allows setting Application ID. Application ID is used for identifying client applications on the server.
Fixes
- The value (Offer and Trade) turns into 0 after instrument update (usually 22:00 GMT).
The problem was the value turns into 0 after instrument update and stays there (zero) forever. - O2GTradeTableRow Stop/Limit equals zero.
After adding Stop/Limit, O2GTradeTableRow Stop/Limit shows zero. - Net PL values in the Summary table are different in FX Trading Station and ForexConnect API.
- Fixed the issue that made a program receive duplicate table updates on 'listeners' API.
- Fixed deadlock on exit in the Linux version.
You can download the release from
fxcodebase.