algo-setup
Set up the local Python environment for building and running OpenAlgo dual-mode trading strategies.
Arguments
$0 (optional) = python interpreter name (python, python3, python3.12). Default: python.
What to do
-
Detect the OS (Windows / macOS / Linux) via
uname -soros.name. Use OS-specific install commands for the TA-Lib C library (whichpip install ta-libdepends on). -
Create venv if not already present:
python -m venv venv -
Install TA-Lib C library (required by Python
ta-lib):- macOS:
brew install ta-lib - Ubuntu/Debian:
sudo apt install libta-lib-dev(may needsudo apt update) - Windows:
pip install ta-libuses pre-built wheels - no C library install needed
- macOS:
More from marketcalls/openalgo-execution-skills
algo-strategy
Generate a single-file dual-mode trading strategy. Asks for indicator library and execution type. The same file runs `--mode backtest` (VectorBT) and `--mode live` (OpenAlgo). Upload-ready for OpenAlgo /python self-hosted.
7algo-options
Generate options-only execution strategies (short straddle, iron condor). Backtest mode is intentionally disabled. Live mode uses optionsmultiorder + per-leg SL.
7algo-host
Validate a generated strategy and produce an upload guide for OpenAlgo's /python self-hosted strategy page. Confirms env-var reads, SIGTERM, stdout-only logging.
6algo-expert
OpenAlgo execution expert. Auto-loaded knowledge base for building algorithmic trading strategies that toggle between VectorBT backtest and OpenAlgo live execution. Triggers when user mentions OpenAlgo trading strategies, dual-mode strategies, /python self-hosted strategies, options execution (short straddle, iron condor), portfolio risk caps, or live execution with stop loss / target / trailing stop / risk management.
6algo-portfolio
Run multiple strategies under one supervisor with portfolio-level risk caps (portfolio SL/TP, daily PnL limits, max concurrent positions). YAML-driven.
6algo-risk-test
Verify a strategy's SL / TP / trailing stop / portfolio caps fire correctly. Uses OpenAlgo sandbox + synthetic price moves. Run this before going live.
6