2 registered members (monk12, Quad),
830
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Corrupted Z12.trd?
#483606
06/21/21 03:13
06/21/21 03:13
|
Joined: Jun 2013
Posts: 1,609
DdlV
OP
Serious User
|
OP
Serious User
Joined: Jun 2013
Posts: 1,609
|
Hi. Windows (Server 2016) wanted to do Updates, so today (Sunday) I clicked Stop, No to Close Trades, Yes to Stop Trading, exited Zorro, and did the Updates, including the reboot after.
Now Z12 will not Trade. It logs in to the broker, loads prices, prints "Trade: Z12 <date>" and then up pops the "Zorro Automaton has stopped working" window. I have also tried with "- diag", but no additional information is recorded.
The same VPS also runs Z7 (from a different directory) and it has restarted fine.
So, it seems the Z12.trd file has somehow been corrupted? How can I verify this and repair the trd file? Is there a trd utility somewhere?
Thanks.
|
|
|
Re: Corrupted Z12.trd?
[Re: DdlV]
#483628
06/24/21 12:11
06/24/21 12:11
|
Joined: Jun 2013
Posts: 1,609
DdlV
OP
Serious User
|
OP
Serious User
Joined: Jun 2013
Posts: 1,609
|
Thanks @jcl. Would the code below work? It creates a MUCH smaller trd...
function run()
{
if(Bar >= 1) {
SaveMode = SV_SLIDERS+SV_TRADES;
loadStatus("/home/user/QubesIncoming/a-personal/Z12.trd");
saveStatus("/home/user/QubesIncoming/a-personal/Z12-Fixed.trd");
quit();
}
}
|
|
|
|