Share Data between Terminals - page 2

 
wekall #:


Exactly, I have few custom symbols, which occupies large amount of my drive in case I import data to the both terminals.

Unfortunately as far as I know, each platform keep its own "bases" inside its data folder. Using symlinks seems the only workaround for me, but not worked in your case...

Maybe you can consider to try creating symlinks not for the whole "Bases" folder but only for "Custom" folder inside bases one.

Anyway, considering the error you got I personally think is something like tester not want to access a file which is already accessed by another process.

Of how many GBs of history data are we talking about?

 
wekall #:

Is creating symlinks/hardlinks possible for MT5?

I am trying to access the same historical data with two different terminals for backtestings my strategy. it works fine with MT4.

I created symlink for the 'Bases' folder to share and use the same historical data with the second terminal, but I can't access the data at the same time. terminal returns "History  'XAUUSD_MB' file opening or reading error [32]". 

I tried to change  .hcc files permission to Read-only and this time got error "History  'XAUUSD_MB' file opening or reading error [5]". 


how can I share historical data for a different MT5 terminal?

It's possible technically but does not guarantee stable work of both terminals.

Forum on trading, automated trading systems and testing trading strategies

Chatter about the MT5 strategy tester

Renat Fatkhullin, 2017.04.03 17:39

It does not and cannot work well. You're just lucky and the bases aren't killed by overwriting much. We have total recheck of all databases with transparent error recovery based on data from server, which eliminates potential collisions (if writing from different terminals to the same directory) and damage.

One should care very much about risk to work in such an environment. It is all the more creepy to demand and claim that everything is right and normal.


There is another possible solution for you. Install a common farm of tester agents, then use the farm from both terminals. It's supposed that 2 terminals are for the same broker/account! If they are not, the history will be downloaded apart for both of them.

 
Fabio Cavalloni #:

Unfortunately as far as I know, each platform keep its own "bases" inside its data folder. Using symlinks seems the only workaround for me, but not worked in your case...

Maybe you can consider to try creating symlinks not for the whole "Bases" folder but only for "Custom" folder inside bases one.

Anyway, considering the error you got I personally think is something like tester not want to access a file which is already accessed by another process.

Of how many GBs of history data are we talking about?


 Tried only "Custom" folder with no chance.

It's not very large, like 20GB of data, it's just my hard drive size is limited, I have 250GB SSD.


Stanislav Korotky #:

It's possible technically but does not guarantee stable work of both terminals.


There is another possible solution for you. Install a common farm of tester agents, then use the farm from both terminals. It's supposed that 2 terminals are for the same broker/account! If they are not, the history will be downloaded apart for both of them.

Oh yes, sorry my bad.


Thank you for the suggestion. tester agents was new for me, it's interesting. but apparently terminals still can't use the same data simultaneously