Replies: 3 comments 3 replies
-
You can try:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your reply so quickly! If I should set a larger value? Setting a larger value can avoid reporting errors, but will it affect performance? Or should I set a smaller value, and the NautilusTrader will automatically clean up the queue after reaching the small queue qsize? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have tried, need a larger qsize value. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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_trader
version: 1.207.0Beta Was this translation helpful? Give feedback.
All reactions