--- name: marketpilot-exit description: "Build a transparent long-only ATR stop and reward/risk target plan from user-specified entry and historical bars." --- # MarketPilot AI Exit Planner ## Workflow 1. Require a user-supplied entry price, symbol, timeframe, and intended holding horizon. If no entry is specified, do not invent one. 2. Fetch or read historical bars and state their data source and as-of time. 3. Run `marketpilot plan --symbol --interval 1d --entry --stop-atr 1.5 --reward-risk 2.0`. For offline reproducibility use `--csv ` instead. 4. Explain ATR period, stop multiple, risk per share, target multiple, and `flat_by` when provided. Show assumptions and calculated prices. 5. Separate a planned stop from a guaranteed fill. Model gaps and slippage when discussing worst-case loss. ## Guardrails - This release supports long-only plans; do not construct a short, options, margin, or leveraged ticket. - A stop can fill below its trigger after a gap. Never promise the calculated risk is a hard cap. - Do not optimize stop parameters on the same data used to report performance. - An exit plan is a scenario, not a recommendation to open the position.