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
Burhay Vlad Burhay Vlad 26.08.2016

Plug-in development in PTMC "on the fly"

For all coders which are or ever will be engaged in PTMC plug-in development, our team is pleased to issue feature, that grants no longer need to restart terminal for code updates to be seen. Revamp on the fly allows to increase productivity and save the most decent resource, called time.Whatever environment is used for developing main steps for the add-on to function remains same:

1) Open either root\plug-ins\panels or Documents\ProtraderMC\My plug-ins and add compiled DLL file for production use.

2) During debugging also add PDB file to same folder. This will allow to see live changes in terminal without restarting it.

In case you code in Visual Studio environment, which is most likely you do, simply paste path to Post-build event command line (click Solution Explorer`s properties → Build Events).

First line is for your .dll file:

copy "$(TargetPath)" "Your DIR\Documents\ProtraderMC\My plug-ins"

And second for pdb file:

copy /y "$(TargetDir)$(TargetName).pdb" "Your DIR\Documents\ProtraderMC\My plug-ins".

You can also set path to your root directory to match same result. Any option is up to you, both would work fine without conflict.

VS post event path to PTMC

While plug-in is launched in terminal, new build version will overwrite it and inform you with message. If add-on is not running, a substitution will be done in the background. Same procedure is attained during removing plug-ins from folder.

PTMC plug-in on the fly

PLEASE NOTE THAT PDB FILE IS APPROPRIATE ONLY DURING DEBUGGING AND THERE IS NO NEED TO POST IT IN PRODUCTION.

Enjoy this new feature from PTMC DevOps and remember that your feedback is more than welcome.

Files
Discussion
Join PTMC community to post your comments
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
© 2024. PTMC is based on Protrader technology
PFSOFT UK LTD
71-75, Shelton Street,
Covent Garden,
London, WC2H9SQ,
United Kingdom
Support & Development
PFSOFT Ukraine
Office #701
Mechnikova Street, 10B
49000, Dnipro, Ukraine
Contact us
Phone: +380 56 740 30 01
E-mail: info@protrader.org
Skype: PTMC_support
Find more ways to contact
Join us in social networks