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
File details
Details for the file trading_strategy-0.11.1.tar.gz
.
File metadata
- Download URL: trading_strategy-0.11.1.tar.gz
- Upload date:
- Size: 192.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7ab0160e424b16b3baa40cb3414f2ec8cb8117e4608b0adb747b0708b66f6e |
|
MD5 | 0e85598598ac77f940a05afcb1dc651f |
|
BLAKE2b-256 | c48bd1c630465b41c9a841825f51eb9fc0e29dc1f191fef953f723cfc68fea08 |
File details
Details for the file trading_strategy-0.11.1-py3-none-any.whl
.
File metadata
- Download URL: trading_strategy-0.11.1-py3-none-any.whl
- Upload date:
- Size: 319.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16fcc00ec551c08d2549e09c353290f521bdac05a44d93531e46f104cfa5baa0 |
|
MD5 | 7e0d3f7fb1972fbbd6a3a793bc4b0eb3 |
|
BLAKE2b-256 | dca684b48820f0313e07d547eb03e9ca4ec54656ecfa2e97e99e3beb7b57cf7f |