is_candle_green# API documentation for tradingstrategy.candle.is_candle_green Python function. is_candle_green(candle)[source]# Check if an OHLCV candle is green. A OHLCV candle is green if close is higher than open. Example: candle = indexed_candles.loc[pd.Timestamp("2022-02-14")] assert not is_candle_green(candle) assert is_candle_red(candle) Parameters: candle (Series) – Return type: bool