Originally Posted By: jcl
It _has_ been fixed, but the difference that you see has a simple reason.

Zorro now updates the account equity at every bar, even when no trades are open. However, inside a bar the equity is calculated from the profit of the open trades. Downloading the equity at every tick would noticably increase the traffic.


OK, I understand now. Especially why it's so often in sync and then again out of sync. It's very confusing until one fully understands what's goin' on under the hood. Of course, this applies only for us playing with two Zorro's.

Here's just one suggesstion, if you think it could improve upon the current solution. You might update equity from the server not at every tick, but say every 100 ticks. Or every 10 or 30 seconds. That should keep the traffic low, but also keep the numbers much better syncronized. Especially for the strategies trading 4h bars where obviously equity is syncronized with the account only few times a day.

Originally Posted By: jcl
So when you have two trading Zorros on the same account, their contribution to the equity is different and thus they can show different equity values. The Zorro that has the larger open profit also displays the higher equity. But they stay in sync, as the equity is updated once per bar.

Balance = Balance on the account
Equity = Balance + open profit of the Zorro instance.

That's why the green Zorro above shows higher equity than the red Zorro, as it had more profit during the current bar. This will be mentioned more clearly in the manual.


The documentation is very good, but also very concise in parts. As Zorro is technically a black box, I think all this internals and corner cases should be explained in more detail before one is to trust real money to the application. IMHO, of course. wink Thanks for the support!