You need to enable JavaScript in order to visit our site!
 
Logo PTMC
NAVIGATION
CANCEL
 
or via PTMC account
Restore password
or via PTMC account
Logo PTMC
NAVIGATION
or via PTMC account
Restore password
or via PTMC account
or via PTMC account
Restore password
or via PTMC account
PTMC team 20.03 2014

Protrader console version for working on VPS

Hey there, Protraders!

For stable and reliable algo-trading traders use dedicated server of VPS. But it is unpractical or inconveniently to use full fledged version of trading terminal on restricted VPS system (usually user pays for VPS depending on resources available on it). To solve this issue we have a minimized version of terminal without GUI – console version.

The way console version works if different with one for usual GUI version. We have to create a dedicated package for every EA (expert advisor, trading robot) we are going to run on VPS. To create a console version open TSL (Trading system list), add EA, set trading instrument, time-frame, parameters for it and then press “Create console version” button:

 VPS

create console script

console vesion successfully created

To save output printed to console by EA we can change run.bat in the next way:

CSConsole.exe /console connection.set trader.dll trader.set >> console.log

so on every run all output will be redirected to log-file console.log (and will be appended it such file already exists).

Now, before to run console version on VPS we need to copy it ti the server. Whole trader directory should be copied. You can use any method you like. On screenshot you can see a copying by Far Manager with scp plug-in.

On screenshot you can see a copying by Far Manager with scp plug-in.

On screenshot you can see a copying by Far Manager with scp plug-in

Now we can run console version on our server:

Now we can run console version on our server

As we can see on screenshot console version uses 85 Mb It is remarkable less then usual GUI version, which can use 500 Mb and even up to 1 Gb. With time pass we will optimize console version and it is quite possible that console version will use even less memory.

After a some time of console version working, trading, we can take a look to saved console.log log-file and analyze its results and maybe make some changes. In case of changes needed in code of EA or parameters, you have to recreate console version and again copy it to the server. You can see console.log on screenshot:

can see console.log on screenshot

This feature is very new in Protrader and is still evolving and being changed. If you have an interest to algo trading on VPS then try to use console version and share with us your thoughts, comments and wishes in the commends section of this article.

Discussion
Join PTMC community to post your comments
  • Eugeny Kaminsky 21.04.2017
PTMC is a professional trading platform that combines all the best charting and analytical tools to trade on different financial markets. It is developed by PFSOFT UK LTD, a global provider of trading technology for banks & brokers
© 2017. PTMC is based on Protrader technology
Head office
PFSOFT UK LTD
20 Centenary Avenue
South Shields, Tyne and Wear,
NE34 6QH
United Kingdom
Ukraine office
TOV PTMC
26, Naberezhna str., Dnipro,
Dnipropetrovs'k region,
Ukraine
Contact us
Phone: +380 56 740 30 01
E-mail: info@protrader.org
Skype: PTMC_support
Social groups