BacktestSyncer#

tradeexecutor.backtest.backtest_sync.BacktestSyncer Python class in Trading Strategy framework.

class BacktestSyncer[source]#

Bases: object

LEGACY backtest sync model.

Simulate deposit events to the backtest wallet.

__init__(wallet, initial_deposit_amount)[source]#
Parameters:

Methods

__init__(wallet, initial_deposit_amount)

__init__(wallet, initial_deposit_amount)[source]#
Parameters:
__call__(portfolio, ts, supported_reserves)[source]#

Process the backtest initial deposit.

The backtest wallet is credited once at the start.

Parameters:
Return type:

List[ReserveUpdateEvent]