| -
CreateFixOrderAsync vs. CreateFixOrder3Async and C#
Hello,
The Order2Go.chm lists CreateFixOrder3Async as the method to use, however it doesn't appear in Visual Studio C# as a method available on an FXCore.TradeDeskAut object.
The same help text only refers to VB, not C#.
CreateFixOrderAsync does exist in the FXCore.TradeDeskAut C# object. However there are many parameters listed for CreateFixOrderAsync in the FXCore.TradeDeskAut object that aren't documented in the Order2Go.chm, such as the first one, sTradeId.
And CreateFixOrderAsync is listed as Deprecated.
I downloaded the latest FXOrder2Go.EXE but no change appeared in this regard.
Is there different documentation for using C# to trade via FXOrder2Go?
What am I missing?
Thanks,
API Trader
-
This sounds like you somehow may have the current help file, but an older version of the api. I'm not sure how this could have happened though, I supppose it would be possible.
I am running the most recent version of the api, and the parameter list matches the help file.(as it should)
The documentation works for all languages, as the parameter names for them won't change between languages. Please uninstall the api, and reload the most recent version from here: LINK
The thread containing this new version can be found here: LINK (Order2Go beta build Nov 05, 2010) API Team -
Re: CreateFixOrderAsync vs. CreateFixOrder3Async and C#
Thank you, I was referencing an older API due to pilot error.
A question: I have been using Interop.FXCore.dll from the FXOrder2Go\Examples\CS\NewExamples folder as the basis-Reference into using FXOrder2Go. Seems to work, and I now see the API I expect in Visual Studio 2010. Is this the right thing to do? Looking at FXOrder2Go I see a lot of support DLLs, but none that seem like the entry point for C#.
Thanks again,
API Trader
-
Add the reference to FXCore module automation library to your c# project and you should be all set.
-jd
API Team |
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.