remove_zero_candles#

API documentation for tradingstrategy.utils.groupeduniverse.remove_zero_candles Python function.

remove_zero_candles(df)[source]#

Remove any candle that has a zero value for OHLC

Parameters:

df (DataFrame) – Dataframe that may contain zero candles

Returns:

pd.Dataframe

Return type:

DataFrame