Gamestudio Links
Zorro Links
Newest Posts
Issues resuming trades on Demo account
by Martin_HH. 05/21/26 17:41
XTB
by pr0logic. 05/18/26 12:27
ZorroGPT
by TipmyPip. 05/17/26 12:08
Purchase A8 full licence version
by NeoDumont. 05/13/26 20:17
Black Book, 4th edition
by TipmyPip. 05/11/26 08:40
No errors in the command line
by jcl. 05/08/26 10:59
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (ozgur, Martin_HH, BrainSailor, 3run, Grant), 17,154 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Koti, curry, DeepxKalsi, Samed, ukgamer
19217 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Issues resuming trades on Demo account #489421
2 hours ago
2 hours ago
Joined: May 2023
Posts: 52
Hamburg, Germany
M
Martin_HH Online OP
Junior Member
Martin_HH  Online OP
Junior Member
M

Joined: May 2023
Posts: 52
Hamburg, Germany
I am running several quite complex strategies under Zorro64 with FXCM Demo accounts. Since a couple of weeks, I am having an issue of resuming open trades. Zorro has the .trd files, but after restart (e.g. crash or stop trading without closing trades) the open trades are ignored?
Any advice from the community?
Martin

Re: Issues resuming trades on Demo account [Re: Martin_HH] #489422
57 minutes ago
57 minutes ago
Joined: Mar 2022
Posts: 22
Frankfurt am Main
B
BrainSailor Online
Newbie
BrainSailor  Online
Newbie
B

Joined: Mar 2022
Posts: 22
Frankfurt am Main
Hi Martin,
hard to tell with the information provided. I am running Zorro with FXCM for quite a long time and all is going well. I am not using the 64bit version but the normal one and I am using the FXCM interface.
I think Zorro does not write into the *.trd when it crashes (unless you have it programmed otherwise). Therefore it is not able to recover the trades.
But of course it should work when you stop trading Zorro manually.
Hope that helps

Re: Issues resuming trades on Demo account [Re: Martin_HH] #489423
28 minutes ago
28 minutes ago
Joined: May 2023
Posts: 52
Hamburg, Germany
M
Martin_HH Online OP
Junior Member
Martin_HH  Online OP
Junior Member
M

Joined: May 2023
Posts: 52
Hamburg, Germany
Hi thanks for the feedback.

Actually Zorro writes regularly to the .trd file :

"Stopping and resuming a live trading system
While trading, Zorro stores the currently open trades, the status of the sliders, and component specific variables (AlgoVar) in a .trd file in the Data folder. This way trading can be stopped and resumed without losing track of open trades. The name of the file is composed from the script name plus the selected asset plus a "_d" in case of a demo account. If a trade can not be resumed - for instance when it was externally closed - an error message will be printed at restarting the trading session, and Zorro will resume the other trades. Because any new trade overwrites the .trd file, its previous content is stored in a .bak file at session start. Trades are not resumed when the session has no lookback period and opens trades already in the first run."

This prevents the loss of data, even when you have a crash. This was working for me for years. I switched a while a go to Zorro64. I guess it was working as well, but now I have a modular set-up with several include files and therefore it hits all strategies and I have difficulties to find out the core issue.
Also the back up of the .trd file does not work anymore.

my version Zorro 2.70

Last edited by Martin_HH; 28 minutes ago.

Moderated by  Petra 

Gamestudio download | 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