algo-host
Prepare a strategy for upload to OpenAlgo's /python strategy host.
Arguments
$0= strategy name (e.g.ema_crossover_SBIN) OR full path to a.pyfile- Special:
--listlists deployable strategies instrategies/and their validation status
If $0 is a folder name, the file is strategies/<name>/strategy.py. If it's already a path, use as-is.
Instructions
- Read
algo-expert/rules/self-hosted-strategies.md. - Read the strategy file.
- Validate these criteria (each can be inferred via grep):
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-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.
6algo-setup
Set up the Python environment for OpenAlgo execution skills - venv, openalgo[indicators], vectorbt, talib, scikit-learn, xgboost. Scaffolds strategies/ folder and .env.
6