Algorithmic trading backtesting and execution engine for decentralised finance
Project description
Trade Executor: Algorithmic Trading Engine for DeFi
trade-executor is a Python framework for backtesting and live execution of algorithmic trading strategies on decentralised exchanges.
Note: This is early beta software. Please pop in to the Discord for any questions.
Features
- Only trading framework that has been built grounds up for decentralised finance
- High quality documentation
- Support decentralised markets like Uniswap, PancakeSwap
- Backtesting enginer
- Live trading
- Webhook web server for JavaScript frontend and monitoring system integration
- Deploy as Docker container
Prerequisites
You need to know
- Basics of Python
- Basics of trading
- We have collected learning material for developers new to algorithmic trading
Getting started
First study the example code
More information
- Read documentation on running and backtesting strategies
- Visit Trading Strategy website to learn about algorithmic trading on decentralised exchanges
- Join the Discord for any questions
Installation
Note: The project is under active development. We recommend any developers to use Github master branch for installations.
git clone git@github.com:tradingstrategy-ai/trade-executor.git
cd trade-executor
git submodule update --init --recursive
# Extra dependencies
# - execution: infrastructure to run live strategies
# - web-server: support webhook server of live strategy executors
# - qstrader: still needed to run legacy unit tests
poetry install -E web-server -E execution -E qstrader -E quantstats
Or with pip:
pip install -e ".[web-server,execution,qstrader,quantstats]"
Architecture overview
Here is an example of a live trading deployment of a trade-executor package.
Running tests
See internal development documentation.
Community
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trade_executor-0.3.tar.gz.
File metadata
- Download URL: trade_executor-0.3.tar.gz
- Upload date:
- Size: 320.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.10 Darwin/22.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8abcab3edad2d827ee3691eea64909e06236b3347c6f4a1f482d58d06b340bc7
|
|
| MD5 |
60f00aa558091d610d510eedc51c444c
|
|
| BLAKE2b-256 |
726011d1f8c5768d029564d552af16d8e52b255650848d53541337225d616a9e
|
File details
Details for the file trade_executor-0.3-py3-none-any.whl.
File metadata
- Download URL: trade_executor-0.3-py3-none-any.whl
- Upload date:
- Size: 405.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.10 Darwin/22.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86341aaaa05f7b1d2473138a6c0cba54d98a41a1803aefb276313ccabdef57cc
|
|
| MD5 |
ba816fbea6f1286b4ad0de1ebb970bf1
|
|
| BLAKE2b-256 |
13a21b2dfef385f8a6b8d9e004e0f3d567844539f9347dabd65e4cc936697e5d
|