Bug Report
When I run a strategy and subscribe quote tick, after a period of strategy running, The strategy will report the following errors.
I have checked the document and found that the introduction of Queue Maxsize is simple. How should I solve this problem after a long run? Cloud I clear the data in the Queue manually?
Expected Behavior
How to solve the queue problem after a long run~~
Actual Behavior
The strategy will report a long log as follows:
Exception in callback <bound method Queue.put_nowait of <Queue at 0x7f31323c7110 maxsize=100000 _queue=[QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,42.978,2.146,1734202518160000000), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,42.978,1.819,1734202518160000000), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,49.378,1.819,1734202518160999936), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,49.690,1.819,1734202518160999936), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,49.690,1.507,1734202518164999936), ... ...]
Steps to Reproduce the Problem
- subscribe an instrument quote_tick
- run a long time, maybe 8 hours or more
Specifications
- OS platform: ubuntu 22.04
- Python version: 3.12
nautilus_trader version: 1.207.0
Bug Report
When I run a strategy and subscribe quote tick, after a period of strategy running, The strategy will report the following errors.
I have checked the document and found that the introduction of Queue Maxsize is simple. How should I solve this problem after a long run? Cloud I clear the data in the Queue manually?
Expected Behavior
How to solve the queue problem after a long run~~
Actual Behavior
The strategy will report a long log as follows:
Exception in callback <bound method Queue.put_nowait of <Queue at 0x7f31323c7110 maxsize=100000 _queue=[QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,42.978,2.146,1734202518160000000), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,42.978,1.819,1734202518160000000), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,49.378,1.819,1734202518160999936), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,49.690,1.819,1734202518160999936), QuoteTick(ETHUSDT-PERP.BINANCE,3828.83,3828.84,49.690,1.507,1734202518164999936), ... ...]Steps to Reproduce the Problem
Specifications
nautilus_traderversion: 1.207.0