TraditionalBacktester#

class swordfish.plugins.backtest.TraditionalBacktester(engine_name, strategy_cls, config, security_reference=None)#
Parameters:
final append_data(data)#

Insert market data to execute a strategy backtest.

Parameters:

data (_type_) – A table containing market data as input.

final append_end()#

Insert end marker to indicate the end of market data.

property context_dict#

Return the logical context.

property universe#

Set the symbol pool for the engine.

property config: Dictionary#

Return the backtest configuration.