Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, EternallyCurious, howardR, 1 invisible), 623 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Trade & Train same time #481920
11/20/20 10:05
11/20/20 10:05
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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.

Last edited by danatrader; 11/20/20 10:27.
Re: Trade & Train same time [Re: danatrader] #481921
11/20/20 11:06
11/20/20 11:06
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
Or maybe errors could be classified, user has option to throw warning or stop trading.

Re: Trade & Train same time [Re: danatrader] #481938
11/24/20 08:33
11/24/20 08:33
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Do I understand this right - your VPS is trying to access some files on your desktop PC?

Re: Trade & Train same time [Re: danatrader] #481940
11/24/20 08:38
11/24/20 08:38
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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.

Re: Trade & Train same time [Re: danatrader] #481943
11/24/20 10:21
11/24/20 10:21
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
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.

Re: Trade & Train same time [Re: danatrader] #481944
11/24/20 12:49
11/24/20 12:49
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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.

Last edited by danatrader; 11/24/20 15:40.
Re: Trade & Train same time [Re: danatrader] #481966
11/28/20 09:55
11/28/20 09:55
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
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.


Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1