Binance Futures plugin freezes Zorro on multiple instances

Posted By: NorbertSz

Binance Futures plugin freezes Zorro on multiple instances - 03/17/22 14:57

Hello all,

I want to use multiple Zorro instances on Binance Futures. The first one is works nice, but when I start Trading on the second one, all of the Zorro instances freezes. To be more precise, it slows incredibly down: if I just want to drag'n'drop the Zorro window, it responds in ~30 seconds.

I also tried running the Zorro instances with different Binance API keys, and also made a copy of BinanceFutures.dll (BinanceFutures2.dll) and tried to use that too, but nothing changes. However, if I try the same API keys on different computers I can use it without problem.

So I guess it's not a broker but a plugin issue: maybe every instance is using the same interprocess channel, or something like this.

Has anyone got an idea how can I use multiple Zorro S instances with Binance Futures on the same computer?

Thank you!

Attached picture testc.png
Posted By: AndrewAMD

Re: Binance Futures plugin freezes Zorro on multiple instances - 03/17/22 16:39

The plugin is not interprocess, but Zorro is interprocess and uses locks by default. This means that only one broker plugin API call can be made at a time by default.

Try set(NOLOCK).
Posted By: NorbertSz

Re: Binance Futures plugin freezes Zorro on multiple instances - 03/17/22 17:27

Perfect, thank you.
© 2024 lite-C Forums