Closed DerekMelchin closed 1 day ago
Hm this should be covered already by https://github.com/QuantConnect/Lean/blob/master/Algorithm/QCAlgorithm.Python.cs#L1575 TryCleanupCollectionDataFrame
might need checking out why isn't it not working for this case, should first add unit test reproducing this issue
Expected Behavior
If we make a history request for a dataset that uses BaseCollection, the DataFrame has columns for each data property.
Actual Behavior
If we make a history request for a dataset that uses BaseCollection, the DataFrame just has a
data
column, which is a list.Potential Solution
If the custom type is BaseCollection, iterate it to build the DataFrame rows.
Reproducing the Problem
System Information
QC Cloud
Checklist
master
branch