prepare_candles_for_qstrader#

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