Skip to content

Commit c0d4291

Browse files
committed
DOC: Clarify OHLCV_AGG docstring code example
1 parent a27256e commit c0d4291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtesting/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"""Dictionary of rules for aggregating resampled OHLCV data frames,
3838
e.g.
3939
40-
df.resample('4H', label='right').agg(OHLCV_AGG)
40+
df.resample('4H', label='right').agg(OHLCV_AGG).dropna()
4141
"""
4242

4343
TRADES_AGG = OrderedDict((

0 commit comments

Comments
 (0)