StrateQueue 
📖 Documentation | 🚀 Quick Start Guide | 💬 Community
⭐️ If StrateQueue saved you time or taught you something, consider starring us on GitHub — it helps more quants discover the project!
📈 StrateQueue 📉
Backtest to live in seconds. StrateQueue lets you deploy any Python trading strategy (backtrader, zipline, vectorbt, backtrader, etc.) to any broker with one command: stratequeue deploy --strategy ./your_script.py. No code changes.
📑 Table of Contents
- StrateQueue
🎯 Quick-start: From Backtest to Live in One Command
Your existing backtest:
class SMAStrategy(Strategy):
def init(self):
self.sma_short = self.I(ta.SMA, self.data.Close, 10)
self.sma_long = self.I(ta.SMA, self.data.Close, 20)
def next(self):
if crossover(self.sma_short, self.sma_long):
self.buy()
elif crossover(self.sma_long, self.sma_short):
self.sell()
Deploy to live trading:
pip install stratequeue
stratequeue deploy \
--strategy examples/strategies/backtestingpy/sma.py \
--symbol AAPL \
--timeframe 1m
NOTE: To use CCXT, use the --broker/data-source ccxt.<broker> syntax
🛠️ Prerequisites
- Python 3.10 or newer (tested up to 3.11)
- pip and a virtual environment (recommended)
- (Optional) Broker API credentials if you plan to trade live (e.g. Alpaca, Interactive Brokers)
- (Optional) A C compiler for building certain dependencies (TA-Lib, IB-API) on Linux/macOS
📥 Installation
Install the core package:
pip install stratequeue
If you need support for a specific engine or want everything in one go:
# Zipline support
pip install "stratequeue[zipline]"
# Backtrader support
pip install "stratequeue[backtrader]"
# Backtesting.py support
pip install "stratequeue[backtesting]"
# VectorBT support
pip install "stratequeue[vectorbt]"
# BT support
pip install "stratequeue[bt]"
# Everything
pip install "stratequeue[all]"
Setup
Dashboard (Experimental)
stratequeue webui
🔧 Supported Integrations
| Integration | Status |
|---|---|
| Backtesting Engines | |
| ├─ backtesting.py | ✅ Implemented |
| ├─ VectorBT | ✅ Implemented |
| ├─ Backtrader | ✅ Implemented |
| ├─ BT | ✅ Implemented |
| └─ Zipline-Reloaded | ✅ Implemented |
| Brokers | |
| ├─ Alpaca | ✅ Implemented |
| ├─ Interactive Brokers | ✅ Implemented |
| ├─ CCXT | 🟠 Implemented (not tested) |
| Data Providers | |
| ├─ yfinance | ✅ Implemented |
| ├─ Polygon.io | ✅ Implemented |
| ├─ CoinMarketCap | ✅ Implemented |
| ├─ Alpaca | ✅ Implemented |
| └─ Interactive Brokers | 🟠 Implemented (not tested) |
| └─ CCXT | 🟠 Implemented (not tested) |
✨ Why StrateQueue?
🛡️ Safe by Default — Signals-only mode by default. No accidental trades.
🔌 Engine Agnostic — Works with backtesting.py, VectorBT, Backtrader, Zipline-Reloaded, bt, and more coming soon.
🏦 Multi-Broker — Unified API across IBKR, Alpaca, and 250+ more brokers.
🎯 Portfolio Management — Deploy single strategies or manage hundreds across multiple accounts
🔄 How It Works
Star History
⚠️ Disclaimer – No Investment Advice
StrateQueue is an open-source toolkit provided "as-is" for educational and informational purposes only.
- It does not constitute investment advice, brokerage services, or a recommendation to buy or sell any financial instrument.
- All trading involves substantial risk; past performance is not indicative of future results. You may lose some or all of your capital.
- By using StrateQueue you acknowledge that you alone are responsible for your trading decisions and agree that the StrateQueue maintainers and contributors will not be liable for any loss or damage arising from the use of this software.
- Consult a qualified financial professional before deploying live capital.
© License
StrateQueue is released under the GNU Affero General Public License v3.0.
Metadata
Release files for StrateQueue 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stratequeue-0.5.1.tar.gz | 2.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stratequeue-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 MB
Release files / stratequeue-0.5.1.tar.gz
| Download URL | stratequeue-0.5.1.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ffbb2283b66651e4af7f4f89c085e45c0763d40dbcb30bd3a4631a8b9f90793
|
|
BLAKE2b-256 checksum How to use checksums |
f58675114d67a3814c5956ffaa99c5868da858f6fd3aed257a85c77fa38bb901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2025.
Transparency logRelease files / stratequeue-0.5.1-py3-none-any.whl
| Download URL | stratequeue-0.5.1-py3-none-any.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7342964862f2d57d81e2bcfd025d66ce007d07d94e9ba6025cc0e33de526321f
|
|
BLAKE2b-256 checksum How to use checksums |
913d9de9230c257a17397f29c01a8c652ba69fea61409d7c58ff3f0ab9739f90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2025.
Transparency log