-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Description
Expected Behavior
The log's timestamp is consistent across warm-up and backtest
Actual Behavior
# region imports
from AlgorithmImports import *
# endregion
class PensiveRedDragonfly(QCAlgorithm):
def initialize(self):
self.set_start_date(2024, 7, 25)
self.set_end_date(2024, 10, 27)
#self.settings.daily_precise_end_time = False
self.set_cash(100000)
self.add_equity("SPY", Resolution.MINUTE)
self.set_warm_up(timedelta(40), Resolution.MINUTE)
def _print(c):
self.log(f'{c.end_time} : {c}')
self.consolidate("SPY", Calendar.WEEKLY, _print)Potential Solution
N/A
Checklist
- I have completely filled out this template
- I have confirmed that this issue exists on the current
masterbranch - I have confirmed that this is not a duplicate issue by searching issues
Metadata
Metadata
Assignees
Labels
No labels