Python: errorCode: "CH_CLIENT_AUTH_FAILURE"

Created at 06 Mar 2023, 21:31
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!
KK

kkanteu

Joined 06.03.2023

Python: errorCode: "CH_CLIENT_AUTH_FAILURE"
06 Mar 2023, 21:31


I try to run the github:

After running it, it prints:

Host (Live/Demo):

And then, me if I put my email or the numbers of my demo account (7 digits), I get the following error:

errorCode: "CH_CLIENT_AUTH_FAILURE"

description: "clientId or clientSecret is incorrect"

 

And that is an old thread:

 

But it does not help a lot. Any help? I just follow the "hello world" tutorial in ctrader python section: https://spotware.github.io/OpenApiPy/

 

Is there a better starting point for python?


@kkanteu