testing#

tradeexecutor.testing Python module in Trading Strategy framework.

Module description#

Unit testing helpers.

Submodules#

tradeexecutor.testing.backtest_trader

Generate trades for backtesting.

tradeexecutor.testing.dummy_trader

Simple trade generator without execution.

tradeexecutor.testing.dummy_wallet

Synchrone deposits/withdrawals of the portfolio.

tradeexecutor.testing.ethereumtrader_uniswap_v2

Uniswap v2 test trade builder.

tradeexecutor.testing.ethereumtrader_uniswap_v3

Ethereum test trading for uniswap v3.

tradeexecutor.testing.pairuniversetrader

Absract PairUniverse trade generator.

tradeexecutor.testing.simulated_execution_loop

Set up execution loop that connects to an Ethereum testing backend.

tradeexecutor.testing.simulated_trader

Helper to simulate trades without going through the whole backtesting integration.

tradeexecutor.testing.synthetic_ethereum_data

Synthetic Ethereum blockchain data generation.

tradeexecutor.testing.synthetic_exchange_data

Generate synthetic exchange.

tradeexecutor.testing.synthetic_pair_data

tradeexecutor.testing.synthetic_price_data

Generate synthetic price data.

tradeexecutor.testing.synthetic_universe_data