validate_ohclv_dataframe# API documentation for tradingstrategy.charting.candle_chart.validate_ohclv_dataframe Python function. validate_ohclv_dataframe(candles)[source]# Ensures that ohclv dataframe contains valid data: 1. Must either contain an index or column named date or timestamp 2. Must contain columns named open, close, high, and low Parameters: candles (DataFrame) –