mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-09 11:19:23 +08:00
BUG: DAY_END action not emitted during minute emission
Refactor AlgorithmSimulator so that DAY_END is emitted for both minute and daily emission, and that handling of end-of-minute and end-of-day are separated
This commit is contained in:
committed by
Jean Bredeche
parent
a068eb374a
commit
7641247b41
@@ -198,7 +198,7 @@ def calculate_results(sim_params,
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
msg = perf_tracker.handle_market_close_daily(date, data_portal)
|
||||
msg = perf_tracker.handle_market_close(date, data_portal)
|
||||
perf_tracker.position_tracker.sync_last_sale_prices(
|
||||
date, False, data_portal,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user