mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 08:34:29 +08:00
Merge pull request #1592 from quantopian/remove-duplicate-get-rolls
MAINT: Remove duplicate get_rolls in reader.
This commit is contained in:
@@ -45,8 +45,6 @@ class ContinuousFutureSessionBarReader(SessionBarReader):
|
||||
# Get partitions
|
||||
partitions_by_asset = {}
|
||||
for asset in assets:
|
||||
rolls_by_asset[asset] = rf.get_rolls(
|
||||
asset.root_symbol, start_date, end_date, asset.offset)
|
||||
partitions = []
|
||||
partitions_by_asset[asset] = partitions
|
||||
rolls = rolls_by_asset[asset]
|
||||
|
||||
Reference in New Issue
Block a user