Closed huuquynh closed 3 years ago
BTW, I do not implement Broker class. Just only Data and Store.
And in Store class I removed BrokerCls, removed @classmethod def getbroker(cls, *args, **kwargs):, class variable self.broker, and any code snippet about self.broker.
Is this the main reason? I will try with it on tomorrow.
I am not really sure how to help you with that. Can you provide some code which shows the issue? You can add zip files here.
Please make a try from 9:15-11:30 & 13:00-14:45 (GMT+7) on weekdays!
Thank you very much!
So strange man!
If change from Data Feed to Data Store's getdata(), it runs normally. Do you have any idea about this issue?
Thank you in advanced!
Dear happydasch!
I'm so sorry when posting this issue on this git (my pattern data store to follow)! It is completely not an issue from your code. The logic and the code runs smooth... I'm following and writing my own live data store. And I think, also double check, the data store runs so well.
This issue could be from the backtrader at all. But I could not post the topic on community, I could not login because forget the password and could not reset password on community too, maybe the backtrader's hosting issue on email or forum's system.
Let me explain the issue where I stuck at:
I tried to log any point on data store to understood the logic or process queue message, and find the point it stops. But no way to stop in the data store. So only from backtrader, but with live process, it will run until it gets breaked or killed. So please take a quick look and do you have any similar experience like this?
Thank you very much for your time!
Best regards, huuquynh
I tried many cases: live tick data, resampledata to 1M, 3M, or 5M, or both tick data and resample to different minute timeframe. But backtrader always stop after new minute is counted.
Tick:
Resampledata: 1M
Resampledata 5M
Live tick without backfill