Start cTrader from commandline

Created at 09 Nov 2017, 19:59
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!
swingfish's avatar

swingfish

Joined 25.06.2016

Start cTrader from commandline
09 Nov 2017, 19:59


hello there

is there a way to start cTrader from the commandline ? 

preferrably with a workspace parameter ? but would be great to "just" be able to start it for now.

 

 


@swingfish
Replies

PanagiotisCharalampous
10 Nov 2017, 09:23 ( Updated at: 21 Dec 2023, 09:20 )

Hi swingfish,

Yes it is possible to start cTrader from command line. Just navigate to cTrader's folder and run cTrader.exe. See below an example from my computer

Currently passing parameters is not available.

Best Regards,

Panagiotis


@PanagiotisCharalampous

swingfish
12 Nov 2017, 10:07

great ! 

 

thanks .. but how do i know which one is the correct one .. besides of the file date ? 

also do the paths change once there was a update ? 

 


@swingfish

#EOL
15 Nov 2017, 12:50

since cTrader is ClickOnce based the path will change

so I would suggest another way:

1. Locate the shortcut of the cTrader instance you want to run (for public demo it sould on your desctop and start menu %appdata%\Microsoft\Windows\Start Menu\Programs\Spotware cTrader)

2. Open the shortcut in notepad by drag-and-drop to opened notepad window

3. Copy the URL (for public demo it will be http://spotware.ctrader.com/xTrader.application)

4. Open command line and run 

"C:\Program Files\internet explorer\iexplore.exe" http://spotware.ctrader.com/xTrader.application

or

start iexplore http://spotware.ctrader.com/xTrader.application

This will run ClickOnce application as you open it through the shortcut


@#EOL