Python Open API not working

viethung2281996 since: 18 Nov 2022;

  18 Nov 2022, 09:42
Python Open API not working

Hi Ctrader team, 

I run an app with example 

It already working in a month, but now a get an error. How can i fix this error.

Thanks for your help!

ctid402288 since: 06 Feb 2016;

  25 Jan 2023, 15:45

Check this thread below

The Klein sample does not work properly, use the console sample and adapt it to your code. You also need a broker to authorize your CTrader account to access the OpenAPI platform. If you are in the UK, you would have your work cut out finding such a broker. Having a CTrader account for desktop or Mobile Apps do not automatically grant you access to the OpenAPI service l have found. Contact your broker to negotiate access.