mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-24 13:00:57 +08:00
BUG: Symbol look-up now uses the sim_params.period_end as a look-up date
This commit is contained in:
@@ -695,7 +695,8 @@ class TradingAlgorithm(object):
|
||||
"""
|
||||
return self.asset_finder.lookup_symbol_resolve_multiple(
|
||||
symbol_str,
|
||||
as_of_date=self.datetime)
|
||||
as_of_date=self.sim_params.period_end
|
||||
)
|
||||
|
||||
@api_method
|
||||
def symbols(self, *args):
|
||||
|
||||
Reference in New Issue
Block a user