Trade execution engine#

This is the API documentation for Python tradeexecutor package.

tradeexecutor is a trade execution framework to

  • Run live DeFi trading strategies

  • Backtest trading strategies

See Deploying live trading strategies for narrative documentation and tutorials.

Trade execution framework#

tradeexecutor.state

Strategy execution state.

tradeexecutor.strategy

Strategy core - the internal state data structures.

tradeexecutor.analysis

Backtest and grid seearch result analysis.

tradeexecutor.visual

Strategy visualisation and graphs.

tradeexecutor.backtest

Backtesting engine.

tradeexecutor.ethereum

EVM execution integration.

tradeexecutor.cli

Main application and loop.

tradeexecutor.utils

Utility functions.

tradeexecutor.webhook

Webhook server and admin interface.

tradeexecutor.testing

Unit testing helpers.

tradeexecutor.monkeypatch

Monkeypatches for Python library dependencies.