Winforms Connect API Example???
Created at 19 Aug 2017, 18:40
CT
Winforms Connect API Example???
19 Aug 2017, 18:40
Hi all,
Does anyone have a working example (Visual Studio/GitHub) of a WinForms/Console app that has the connectivity using Connect API and the Trading/Account API.
I have some stuff already coded in WebForms using web requests to access the Trading/Account API's but need to know how to do this in WinForms without having to create a web request style connection. If this is possible.
Any help would be much appreciated.
Thank you
Spotware
30 Aug 2017, 14:44
Dear Trader,
Web requests are required for Accounts API. Trading API uses sockets. It is not a prerequisite to have a web application. Nevertheless, you can send the requests from a WinForms application as well. You can take the Connect API library found in our ASP.Net sample application and use in a WinForms project as well.
Let us know if you need any further assistance on this.
Best Regards,
cTrader Team
@Spotware