FundFlowEvent#
API documentation for tradeexecutor.backtest.backtest_sync.FundFlowEvent Python class in Trading Strategy framework.
- class FundFlowEvent[source]#
Bases:
object
One simulated deposit/redemption in backtest.
Events can be triggered any time with
BacktestSyncModel.simulate_funding()
Fund flow is added to the reserves during
BacktestSyncModel.sync_treasury()
as it would be with live trading
- __init__(timestamp, amount)#
Methods
__init__
(timestamp, amount)Attributes
timestamp
amount