π Quick-Start
Pick one engine below, copy the install + deploy command, and you'll have live signals printing in your terminal in under five minutesβno broker keys required.
β οΈ One engine per environment β VectorBT depends on NumPy 1.x while Zipline requires NumPy β₯2.x. Create a fresh virtualenv for each engine to avoid conflicts.
1 Β· Install & Run
Stock Trading (backtesting.py)
python -m venv venv && source venv/bin/activate # optional but recommended
pip install "stratequeue[backtesting]"
# Run the SMA crossover demo (signals-only)
stratequeue deploy \
--strategy examples/strategies/backtestingpy/sma.py \
--symbol AAPL \
--timeframe 1mCrypto Trading (CCXT)
python -m venv venv && source venv/bin/activate
pip install "stratequeue[backtesting]" ccxt
# Run crypto SMA demo on Binance (signals-only)
stratequeue deploy \
--strategy examples/strategies/backtesting.py/sma.py \
--symbol ETHUSDC \
--timeframe 5m \
--broker ccxt.binanceVectorBT
python -m venv venv && source venv/bin/activate
pip install "stratequeue[vectorbt]"
# Run the vectorbt SMA crossover demo (signals-only)
stratequeue deploy \
--strategy examples/strategies/vectorbt/sma.py \
--symbol AAPL \
--timeframe 1mBacktrader
python -m venv venv && source venv/bin/activate
pip install "stratequeue[backtrader]"
# Run the Backtrader SMA demo (signals-only)
stratequeue deploy \
--strategy examples/strategies/backtrader/sma.py \
--symbol AAPL \
--timeframe 1mZipline-Reloaded
python -m venv venv && source venv/bin/activate
pip install "stratequeue[zipline]"
# Run the Zipline SMA demo (signals-only)
stratequeue deploy \
--strategy examples/strategies/zipline-reloaded/sma.py \
--symbol AAPL \
--timeframe 1mbt
python -m venv venv && source venv/bin/activate
pip install "stratequeue[bt]"
# Run the bt SMA demo (signals-only)
stratequeue deploy \
--strategy examples/strategies/bt/sma.py \
--symbol AAPL \
--timeframe 1mYou should see output similar to:
π StrateQueue β Single Strategy
π Symbol: AAPL Engine: {'{engine}'} Granularity: 1m
π‘ Trading: Signals-only (safe)
ββββββββββββββββββββββββββββββββββββββββββββββ
14:30:15 BUY 185.42 sma crossoverIf the feed scrolls with new bars, your install is good to go.
Live demo of the quick-start process in action
2 Β· What happened?
- Strategy file was auto-detected as
{'{engine}'}and wrapped in the StrateQueue runtime. - Demo data source delivered 1-minute candles for AAPL.
- Signals were printed instead of executed (safe default).
3 Β· Next Steps
| Goal | Command | Docs |
|---|---|---|
| Paper trading | add --paper + finish setup |
Setup Deploy |
| Live trading | add --live + finish setup |
Setup Deploy |
| Visual dashboard | stratequeue webui |
Dashboard |
| Multi-strategy portfolio | comma-separate --strategy & --allocation |
Deploy |
| Check system status | stratequeue status |
Setup |
| List available options | stratequeue list brokers |
Deploy |
| Background daemon | stratequeue daemon |
Dashboard |
4 Β· Common Issues
| Error | Fix |
|---|---|
ModuleNotFoundError for your engine |
Ensure you installed the correct pip install "stratequeue[engine]" extra |
| NumPy version conflict | New virtualenv, choose one engine per env |
| No scrolling output | yfinance rate limit, try adding the flag: --data-provider demo |
π‘ Need help? Run
stratequeue deploy --helpor open an issue on GitHub.
π You're all set!
Edit the strategy file, re-run the command and iterate. When you're ready to trade real money, proceed to the Setup guide.