Login Page - Create Account

Support Board


Date/Time: Sat, 01 Mar 2025 04:32:00 +0000



Post From: Unsubscribe to IB stock Level 2 data without disconnecting data feed

[2021-09-09 21:01:44]
User504778 - Posts: 22
I'm getting Level 2 data for stocks from Interactive Brokers data feed following your online instructions. I can get Level 2 data for up to 3 stocks at the same time, and I would like to be able to switch stocks on the fly while keeping the total number within 3. However, changing symbols in Chart Settings would not unsubscribe the old symbol from the data feed, and I would get the error message "Message from IB: Max number (3) of market depth requests has been reached. IB Error Code: 309." I tried to reset "sc.UsesMarketDepthData = 0" in ACSIL but it didn't disconnect the symbol either. The only way I can change symbols for Level 2 after reaching the limit is to disconnect and reconnect data feed, which would briefly interrupt trading and recording of the market depth data. Is there a better way to achieve this using ACSIL or menu command? Thanks.