API documentation for tradeexecutor.backtest.simulated_wallet Python module in Trading Strategy.
On-chain balance simulator for backtesting.
We simulate ERC-20 token balances as they would appear in live trading
The simulation will catch bugs like incorrect accounting or rounding errors for the trade execution
A wallet that keeps token balances by ERC-20 address.