Skip to main content

Algorithmic trading and quantitative financial analysis framework for decentralised exchanges and blockchains

Project description

CI Status

pip installation works

Trading Strategy logo

Trading Strategy framework for Python

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.

Use cases

  • 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


Example and getting started

See the Getting Started notebook and the rest of the Trading Strategy documentation.


Python 3.9+

Installing the package

Note: Unless you are an experienced Python developer, the suggested usage of Trading Algorithm framework is using Google Colab hosted environments.

You can install this package with poetry or pip

poetry add trading-strategy
pip install trading-strategy 

For QSTrader based trading algorithm support you need to install the related optional dependencies:

poetry add trading-strategy[qstrader]


Read documentation online.


Read more documentation how to develop this package.



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

trading-strategy-0.6.9.tar.gz (156.6 kB view hashes)

Uploaded source

Built Distribution

trading_strategy-0.6.9-py3-none-any.whl (276.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page