Registering a New Application¶
To interact with cTrader Open API you first need to create an API application, You will use the application credentials for accessing the API.
You can create an API application by following these steps:
Go to cTrader Open API web page: https://openapi.ctrader.com/
Login with your cTrader ID.
After logging in go to your applications page: https://openapi.ctrader.com/apps
Click on "Add New App" button.
Provide all the details related to your application by filling the application form, To get your application approved the soonest possible, please provide a detailed description of your application.
Click on Save button.
Your new created application will appear on your applications list and its status will be "Submitted".
Now your application has been created.
After it is reviewed by Spotware, you will be contacted by email, either confirming the approval or requesting further details about your application.
To activate your application first make sure that the description field is not empty and it provides a good amount of info about your application like what your application will be used for.
Adding Redirect URIs¶
Once your application gets activated by Spotware, you can start using the Open API through your application.
The next step is to add a redirect URI that will be used for authentication.
You can always change your application's redirect URIs and add new ones or remove old ones.
The default redirect URI is only for the playground environment, it will not work outside the playground environment, you can't use it on your own code/program.