Advice on if Open API is best for this use case?
Advice on if Open API is best for this use case?
17 Feb 2025, 23:25
Basically I already have a C# program that is giving me trading signals based on data outside Pepperstone/cTrader. All I want to do is to be able to programatically access my Pepperstone spread betting account from my existing C# program (rather than have to create a new C# program) so that I can place/monitor trades using my existing live Pepperstone spread betting account.
I have had a look on Pepperstone's website and there a numerous options. The cTrader.Automate looks like it needs to be the main app, rather than integrate Pepperstone into my existing app.
I have had a look at Open API. This looks what I need. I registered an 'Application' on the website which is now active. However it looks to be set to demo mode. Are there any restrictions/costs for going live with this 'Application'?
From here it looks like I need to simply load up my existing C# program in Visual Studio, add the wrapper class, deal with tokens/authentication, then call the methods on the wrapper. That is, I should be able to stream prices, make orders, and monitor positions, as would be usual with a broker's API.
Anyone see any problems with this approach?