Z1 - reading the trade history from Z12?

Posted By: PadMalcom

Z1 - reading the trade history from Z12? - 10/05/16 16:03

I have seen some strange behavior when trading Z12 (as demo), then Z1 (real), then stopping to trade Z1, deleting the Z1 trd files in the Data folder and resuming Z1. In that case Zorro seems to load the trade history from Z12.
Posted By: jcl

Re: Z1 - reading the trade history from Z12? - 10/06/16 12:51

Only open trades from the same strategy and the same account type - demo or real - are continued when starting a session.
Posted By: jrath

Re: Z1 - reading the trade history from Z12? - 01/15/17 22:21

I think I have seen the same thing. Will do some more testing before writing more.
Posted By: jrath

Re: Z1 - reading the trade history from Z12? - 01/23/17 02:03

I shut down my two Zorro's for the weekend and briefly did some tests and looked closer.

I am ready to conclude Zorro Z1 & Z2 never save their trades Z1.trd etc but instead BOTH always save their trades to Z12.trd
Thus deleting a Z1.trd does nothing.

As evidence see the attached screen shot of my logs directory. Both Z1 & Z2 file have zero size but the Z12 file is much larger. I ran the trade inspection script from the manual on both files and indeed the trades are in Z12.trd and the other files have no trades. I honestly have not gotten to testing/running Z12 yet. I only use Z1 & Z2 so far.

Most people that only run one Zorro will never notice or find this a problem. However if you try to run both Z1 & Z2 live from the same install folder you are going to have a bad experience I think.

J

Attached picture Zorro_logs.PNG
© 2024 lite-C Forums