prepare_candles_for_backtrader#

prepare_candles_for_backtrader(candles)[source]#

Prepare DataFrame format so that Backtrader strategy can read it.

What assumptions Celebro.addfeed() makes about Pandas data.

Parameters

candles (DataFrame) –

Return type

DataFrame