Zorro logs every BrokerTrade call despite Verbose = 1

Posted By: MegaTanker

Zorro logs every BrokerTrade call despite Verbose = 1 - 07/12/22 15:42

When a trade is open, Zorro spams the window and log with the fill status constantly, like so:

[MATIC-PERP::L78131] filled 1 lots of 1
[MATIC-PERP::L78131] filled 1 lots of 1
[MATIC-PERP::L78131] filled 1 lots of 1

At every BrokerTrade call. Verbose = 7 says it does that and I used that for testing, but even with Verbose = 0, they still appear. How to disable them?
Posted By: Petra

Re: Zorro logs every BrokerTrade call despite Verbose = 1 - 07/13/22 07:33

Maybe you have not the current release? I remember a prerelease had this.
Posted By: MegaTanker

Re: Zorro logs every BrokerTrade call despite Verbose = 1 - 07/13/22 07:51

It's happening with 2.48.0
Posted By: MegaTanker

Re: Zorro logs every BrokerTrade call despite Verbose = 1 - 07/13/22 12:48

In the 2.50 release candidate it is indeed not a problem, the message only gets printed once when the trade is filled. Though even with Verbose=7 it only prints one. Don't know if that's the intended behavior since the manual says it logs every BrokerTrade call.
Posted By: jcl

Re: Zorro logs every BrokerTrade call despite Verbose = 1 - 07/13/22 15:12

It logs every new fill. It nothing is filled, nothing is logged.

For really logging every call you need to set the DIAG flag.
© 2024 lite-C Forums