BacktestSyncer#
tradeexecutor.backtest.legacy_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.
Warning
Does not correctly fire any balance update events. Can be used to backtest with a fixed initial amount only.
- __init__(wallet, initial_deposit_amount)[source]#
- Parameters:
wallet (SimulatedWallet) –
initial_deposit_amount (Decimal) –
Methods
__init__
(wallet, initial_deposit_amount)- __init__(wallet, initial_deposit_amount)[source]#
- Parameters:
wallet (SimulatedWallet) –
initial_deposit_amount (Decimal) –