df_index#
API documentation for tradingstrategy.utils.df_index Python module in Trading Strategy.
Module description#
DataFrame index utilities.
Deal with mismatch of having OHLCV data is
pd.DateTimeIndex
andpd.MultiIndex
format
Functions#
Make sure we have a datetime index as the index for the DataFrame. |
|
Get DateTimeIndex for pair OHCLV data. |