Trading Strategy framework is a Python framework for algorithmic trading on decentralised exchanges. It is using backtesting data and real-time price feeds from Trading Strategy Protocol.
-
Analyse cryptocurrency investment opportunities on decentralised exchanges (DEXes)
-
Creating trading algorithms and trading bots that trade on DEXes
-
Deploy trading strategies as on-chain smart contracts where users can invest and withdraw with their wallets
-
Supports multiple blockchains like Ethereum mainnet, Binance Smart Chain and Polygon
-
Access trading data from on-chain decentralised exchanges like SushiSwap, QuickSwap and PancakeSwap
-
Integration with Jupyter Notebook for easy manipulation of data. See example notebooks.
-
Write algorithmic trading strategies for decentralised exchange
See the Getting Started tutorial and the rest of the Trading Strategy documentation.
- Python 3.10
Note: Unless you are an experienced Python developer, try the Binder cloud hosted Jupyter notebook examples first.
You can install this package with
poetry
:
poetry add trading-strategy
pip
:
pip install trading-strategy
Read more documentation how to develop this package.
GNU AGPL 3.0.