Algorithmic trading and quantitative financial analysis framework for decentralised exchanges and blockchains
Project description
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
Features
-
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
-
Utilise Python quantita frameworks like Backtrader and QSTrader to create, analyse and backtest DEX trading algorithms
Example and getting started
See the Getting Started notebook and the rest of the Trading Strategy documentation.
Prerequisites
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]
Documentation
Community
Read more documentation how to develop this package.
License
GNU AGPL 3.0.
Project details
Release history Release notifications | RSS feed
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
Hashes for trading_strategy-0.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d80b86d3c783ae5ece821157d4113cb71a3f2eb5afc8e2c5c3fc14fd9cf150 |
|
MD5 | b0898749856aff53cbaf2dca0469eae0 |
|
BLAKE2b-256 | c6bda60191595eb1c34bd7b0aa5e145ab5dc03eb70b546fe9a3b573f4f7d64fa |