We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Backtest(data, ...)
1 parent 95ae061 commit e11efb7Copy full SHA for e11efb7
backtesting/backtesting.py
@@ -948,7 +948,9 @@ def __init__(self,
948
949
df['Open'] = df['High'] = df['Low'] = df['Close']
950
951
- DataFrame index can be either datetime index (timestamps)
+ The passed data frame can contain additional columns that
952
+ can be used by the strategy (e.g. sentiment info).
953
+ DataFrame index can be either a datetime index (timestamps)
954
or a monotonic range index (i.e. a sequence of periods).
955
956
`strategy` is a `backtesting.backtesting.Strategy`
0 commit comments