DEX trading and blockchain quantitative finance data for Python
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. See example notebooks.
-
Write algorithmic trading strategies for decentralised exchange
Getting started
See the Getting Started tutorial and the rest of the Trading Strategy documentation.
Prerequisites
- Python 3.10
Installing the package
Note: Unless you are an experienced Python developer, try the Binder cloud hosted Jupyter notebook examples first.
You can install this package with
Poetry as a dependency:
poetry add trading-strategy -E direct-feed
Poetry, local development:
poetry install -E direct-feed
Pip:
pip install "trading-strategy[direct-feed]"
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.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd68c9fab23e3fa5c6c958ae0ff7522f7070927ea0b8e1dd90fdb44614c9a5a |
|
MD5 | 3766318fd05bcead291237116af33a0a |
|
BLAKE2b-256 | 760d05e1a677b5f20529f635ac5ee72fa9fd4b7755f2341f20740b246aacddec |