How can a Non-UI python project get the Auth Code?

Created at 08 Mar 2024, 22:04
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
RA

raypang

Joined 28.02.2024

How can a Non-UI python project get the Auth Code?
08 Mar 2024, 22:04


I want to write a python project run 24/7 auto trade. It doesn't have any UI, can runs on VPS

But I go through the Open API document, while fetch auth code, it response a html, force user to enter username and password,

How can I get the auth code just through program, without human input username and password? 


@raypang
Replies

PanagiotisCharalampous
11 Mar 2024, 08:15

Hi there, 

If your application is for personal use and does not involve authenticating on behalf of a third party user, you can obtain the token from your application's playground area

Best regards,

Panagiotis


@PanagiotisCharalampous