Trade & Train same time

Posted By: danatrader

Trade & Train same time - 11/20/20 10:05

While VPS is trading, desktop PC does retraining, it may happen that trading instance is trying to access the fac / par file.

Error 062
Error 044
occur and trading instance stops.


Maybe Zorro could instead throw a warning and continue using the values in memory.
Posted By: danatrader

Re: Trade & Train same time - 11/20/20 11:06

Or maybe errors could be classified, user has option to throw warning or stop trading.
Posted By: jcl

Re: Trade & Train same time - 11/24/20 08:33

Do I understand this right - your VPS is trying to access some files on your desktop PC?
Posted By: danatrader

Re: Trade & Train same time - 11/24/20 08:38

Well, fac / par are on cloud drive, so VPS accesses that file to trade, while Desktop may retrain, it happens by accident, they acces both the file at the same time, e.g. VPS to reread the files for trading, Desktop to write new file after training.
Posted By: jcl

Re: Trade & Train same time - 11/24/20 10:21

Ok. If you retrain, either do that on the same machine, or do at least not train and trade the same file from different machines.

Zorro has a mechanism to prevent access conflicts. But that won't work across the Internet.
Posted By: danatrader

Re: Trade & Train same time - 11/24/20 12:49

Wouldn't be a simple retry with an intervall counting up be an option (in trade mode only)?
E.g. retry 5 times, and add a minute waiting time per retry?

I believe just stop trading is the worst decision possible, since maybe still stop losses might be relevant, even though no new trades may be entered.
Posted By: jcl

Re: Trade & Train same time - 11/28/20 09:55

In that case, yes. But the error handler is not so intelligent to make a difference in which situation continuing makes sense and in which not. A failed file access is normally a hard and fatal error and leads to stopping the system. If the system would continue trading with an unread file, the result can be much worse.
© 2024 lite-C Forums