We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcb307 commit bdd6c8cCopy full SHA for bdd6c8c
zipline/data/resample.py
@@ -44,5 +44,6 @@ def minute_to_session(minute_frame, calendar):
44
# Group minutes into their respective days. Note that this will
45
# create groups for all trading days in the desired range,
46
# including days with no minute data.
47
- return minute_frame.resample(calendar.day,
48
- how=_MINUTE_TO_SESSION_OHCLV_HOW)
+ return minute_frame.resample(calendar.day).apply(
+ _MINUTE_TO_SESSION_OHCLV_HOW
49
+ )
0 commit comments