No market data during competing live session

Posted By: strimp099

No market data during competing live session - 02/02/21 07:47

Greetings,

I'm getting this error message on a few symbols when attempting demo trading the Z1 strategy. Interesting in this case, EUR/USD printed the error and the script moved on where as USD/CHF printed the error and ended up downloading the data anyway. I'm using the IB Gateway which doesn't actually connect to the historical data servers until _after_ I enter [Trade] mode in Zorro. Could that be the cause?

Attached picture Capture.PNG
Posted By: jcl

Re: No market data during competing live session - 02/03/21 16:36

No. But the meaning of the usual IB error messages is explained here: https://manual.zorro-project.com/ib.htm
Posted By: strimp099

Re: No market data during competing live session - 02/04/21 08:06

From the manual


Single session only. You can not connect twice with the same user name to the TWS, the Gateway, or the IB website - not even for only checking your account. You'll get a message like "No market data during competing live session". When you log in with the TWS, the Gateway connection might break down, or vice versa. After terminating your TWS session you must therefore manually re-login from the Gateway. Zorro will automatically resume the session after an interruption, but while not connected it can not handle entries, stops, or profit targets. For working around this problem, you can register a second user for your IB account, and open the TWS with this second user name. This requires that you pay separate market data subscriptions for the second user name. The workaround does not work for IB paper accounts, which are single-user only.
© 2024 lite-C Forums