Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
It could be usefull all the starters, who you can easly backup/move your trading platform from one place to another. I am using NT as a platform, but it could be easly configured to another platform as well. My basic idea is that, to have the ability to setup all my data in no time, if I have to use any other computer, anywhere with a good internet connection ofc
I am managing my files via dropbox, it could be easly setup with any other provider like google drive, microsoft fileservice as well.
I made a pretty simple script on my PC which is copy all the data during the night to my dropbox folder, and keep it there safe. To do this i am using robocopy which is updating only the necessery and changed files (also delete if it is needed), so the cloud drive will be updated only the necessery information. I used to linked my trading platform files directly to my dropbox folder, but I have been realized that is not needed (I am not turing of my PC anyway, and it is only makes unnecessery file syncronizations), so the daily saves are more than enough.
So here is the howto:
- downlod robocopy and install. You can download it from microsoft. It is safe, and it is written by them, so no issue with it: Download robocopy.exe For Windows 2003 Server / XP / 7
- make a script libary somewhere in your home folder, here is mine: c:\users\Mate\Scripts
- create a script file, which will helps you to run batch scripts in the background and name it as invisible.vbs (mine is here: c:\Users\Mate\Scripts\invisible.vbs ). You can create this file as using notepad, and simply just copy past there the following command:
- create a folder in your dropbox/gdrive/microsoftdrive folder where you would like to put your backup data. In case of Ninjatrader you just have to save your Ninjatrader 7 folder in your home directory (not in the program files), in case of MT4 you can save the program files directory. Other platforms I dont know what have to be saved, so you have to find it your own. So my folder is like: "d:\!Dropbox\Dropbox\trading\backup\NinjaTrader 7"
- go back to your scripts folder, and create a backup script with the following commands call it ninjatrader.bat or as you want it:
- Change the path information based on your path information, BUT BE ADVICE! it could delete all your files, if you are not using it right. Robocopy first paramater is the source, and the second paramater is the destination folder where you would like to create the save. robocopy will always mirror the 2 folder (first is the master, he will never change that, and second is the slave, it will be changed, but only with those files, which actually has been changed during the daily session)
- Cool you are almost there. You can test the script now simply just running it. If you have big folder than it could take time, but it will mirror the files into your dropbox/gdrive/microsoftdrive folder in no time. As a second run, it will be very quick, because most likely only some files will be changed.
- As a last step, you have to schedule the script. Simply just run windows "task scheduler" from the start menu, and setup a new schedule (action/create task). Give a name what you want to see (mine is ninjatrader). In the triggers, create a new trigger, to make it run during the night (settings: daily, recure daily). Actions tab: new action: start a program. program: wscript.exe add arguments: c:\Users\Mate\Scripts\invisible.vbs c:\Users\Mate\Scripts\ninjatrader.bat
- And done. Save it, and you can test it here as will simply just right click on the schedule, and hit run.
Hopes it helps everyone. You are ready with the save, and you are safe now