backtest_execution#

tradeexecutor.backtest.backtest_execution Python module in Trading Strategy framework.

Module description#

Execution model where trade happens directly on Uniswap v2 style exchange.

Classes#

BacktestExecutionModel

Simulate trades against historical data.

Functions#

fix_sell_token_amount(current_balance, ...)

Fix rounding errors that may cause wallet dust overflow.