prepare_candles_for_qstrader# API documentation for tradingstrategy.frameworks.qstrader.prepare_candles_for_qstrader Python function. prepare_candles_for_qstrader(candles)[source]# Prepare DataFrame format so that QSTrader strategy can read it. QSTrader assumes Yahoo Finance CSV file format with the following columns: Date,Open,High,Low,Close,Adj Close,Volume Parameters: candles (DataFrame) – Return type: DataFrame