add_dataframes_as_feeds#

add_dataframes_as_feeds(cerebro, pair_universe, datas, start, end, bucket, plot=False)[source]#

Add Pandas candle data as source feed to Backtrader strategy tester.

For each py:class:pd.DataFrame creates a new bt.Celebro.adddata() feed of the type CapitalgramFeed. Data on any missing dates is gracefully handled.

Parameters