backtest_execution#

API documentation for tradeexecutor.backtest.backtest_execution Python module in Trading Strategy.

Module description#

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

Classes#

BacktestExecution

Simulate trades against historical data.

Functions#

fix_sell_token_amount(current_balance, ...)

Fix rounding errors that may cause wallet dust overflow.