How can I run ctrader-cli.exe on a linux platform?

Created at 05 Nov 2024, 13:39
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!
TU

tuhinbc2

Joined 08.07.2024

How can I run ctrader-cli.exe on a linux platform?
05 Nov 2024, 13:39


I've tried to copy existing cTrader installation files (windows) to a linux and run ctrader-cli.exe via wine, but it is showing an error message continuously.

 

Running cBot with parameters:
---------------------------------------------------------------------------
| Name                 | Value                     | Source               |
---------------------------------------------------------------------------
| Symbol               | EURUSD                    | cmd arg              |
| Period               | m1                        | cmd arg              |
|                      |                           |                      |
| Message              | Hello world!              | default value        |
---------------------------------------------------------------------------
05/11/2024 13:28:53.129 | Establishing connection using m@gmail.com...
05/11/2024 13:28:53.422 | The connection has been lost. Reconnecting...
05/11/2024 13:28:53.423 | Establishing connection using m@gmail.com...
05/11/2024 13:28:53.566 | The connection has been lost. Reconnecting...
05/11/2024 13:28:53.566 | Establishing connection using m@gmail.com...
05/11/2024 13:28:53.698 | The connection has been lost. Reconnecting...
05/11/2024 13:28:53.699 | Establishing connection using m@gmail.com...

 

I've also tried to run it via linux dotnet runtime, but there is no succes also: 

# dotnet ctrader-cli.exe

Architecture: x64
Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
.NET location: /usr/lib/dotnet/

No frameworks were found.

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

 

Could you please give me any direction how can I run this program on a linux machine?

 

Ctrader cloud seems to execute our algos on a linux machine without any problem. 


@tuhinbc2
Replies

PanagiotisCharalampous
06 Nov 2024, 07:44

Hi there,

Unfortunately cTrader CLI is not supported on Linux.

Best regards,

Panagiotis


@PanagiotisCharalampous