Logotipo de Trader Exit

Trader Exit

Comunidad
Jakeschincariol
trader-exit

Exit Planner. Sets your stop and your target before you enter, so you know when to get out. Reads the entry from trader-entry (or a price you give), puts the stop at the opening-range midpoint by default (or the range low, your price, a percent, or a multiple of the ATR), rounds it down to the cent, and sets the target at 2R (or 1R, or your price). Refuses a stop at or above the entry, a target at or below it, or a stop too tight to survive the spread, and says why. Writes trader/plan.json for the Time Machine, the Budget Manager and Price Alerts. Long side only. Use when the user says "where's my stop", "set my stop and target", "plan the exit", "when do I get out", "stop loss", "what's my R", "risk reward", or right after /trader-entry triggers, before /trader-timemachine.

Add to TypingMind

Descripción general

EditorJakeschincariol
Repositorioday-trader-skill
Nombre de la habilidadtrader-exit
Estrellas
617
Forks
119
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Jakeschincariol en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Trader Exit en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Jakeschincariol/day-trader-skill/tree/main/trader-exit
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Jakeschincariol/day-trader-skill.git /tmp/day-trader-skill
mkdir -p .claude/skills
cp -r /tmp/day-trader-skill/trader-exit .claude/skills/trader-exit
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Trader Exit en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Trader Exit automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Trader Exit no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

trader-exit

The Exit Planner decides how a trade ends before it starts. The stop is where the setup has failed. The target is where you take what you came for. Both are set BEFORE the entry, written down and handed on, so nobody has to decide anything in the middle of a fast move. A stop is a plan, not a guarantee: a gap or a fast market can fill past it. Day trading loses most people money, and a neat plan does not change that.

${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).

bash
python3 "${CLAUDE_SKILL_DIR}/exit.py" plan                          # trader/entry.json: midpoint stop, 2R target
python3 "${CLAUDE_SKILL_DIR}/exit.py" plan --stop or-mid --target 1R --write
python3 "${CLAUDE_SKILL_DIR}/exit.py" plan --stop atr:1.5           # needs the session's bars (Yahoo or --offline)
python3 "${CLAUDE_SKILL_DIR}/exit.py" plan --symbol TSLA --entry 364.18 --or-high 362.18 --or-low 354.47
python3 "${CLAUDE_SKILL_DIR}/exit.py" show                          # the current trader/plan.json

Other flags: --flat-by 15:55, --json, --now "2026-10-19 10:15" (New York time), --entry PRICE with a waiting entry.json to plan ahead, --setup level, --offline FILE (a saved Yahoo chart JSON for an ATR stop).

What it reads and writes

filewhat
trader/entry.jsonthe trigger from trader-entry: symbol, entry price, time, bar, opening range
trader/config.jsonflat_by (15:55) and min_reward_risk (1.0: a note here, trader-risk enforces it)
Yahoo chart APIonly for an atr:K stop: the session's bars up to the entry bar, free and unofficial
trader/plan.jsonwith --write: entry, stop and its rule, target and its R, risk a share, reward:risk, flat by. trader-timemachine, trader-budget and trader-alerts read it

Stops and targets

stopwhere it goes
or-midthe opening-range midpoint (the default for an opening-range breakout)
or-lowthe opening-range low: wider, so fewer shares for the same max loss
price:Xyour price
pct:XX percent under the entry
atr:KK times the 14-bar ATR under the entry, on the session's bars up to the entry bar. With fewer than 14 bars by then it averages all of them and says so

A level setup has no opening range to lean on, so it needs a stop you name.

  • Rounding. The stop rounds AWAY from the entry to the cent (down, for a long). Risk = entry minus stop. Target = entry + R x risk, rounded half up to the cent. 2R by default; 1R, 1.5R or price:X also work.
  • Refused, with the reason. A stop at or above the entry. A target at or below it. A risk under 0.05% of the price: too tight to survive the spread, normal wiggle would stop you out. An entry.json that has not triggered (unless you give --entry). A short: v2 plans longs only.
  • Flat by. 15:55 by default (or flat_by in the config). Out by then, win or lose, no overnight hold. On a 1:00 p.m. early close it moves up to 12:55. An entry at or after the flat-by time is refused.

Steps

  1. Run it right after /trader-entry triggers. Before that, --entry PRICE plans ahead at the level you expect.
  2. Use the default stop for an opening-range breakout unless the user names another. A level setup needs one: ask.
  3. Run exit.py plan --write. Read back the entry, the stop and its rule, the target and its rule, the risk a share, reward:risk and flat by.
  4. If it refuses, say the reason and the fix (a wider stop, a farther target). Never loosen anything on your own.
  5. Say once that the stop is a plan, not a guarantee.
  6. Hand off to /trader-timemachine to replay the plan, then /trader-budget to size it to the max loss per trade. Offer /trader-alerts for the stop, the target and the flat-by time. Claude can keep entry.py watch running in the background or on a /loop until a setup triggers, then come here.

Example: the reel

TSLA, Monday 2026-10-19. The entry is 364.18 at 10:15 AM (the 10:10 bar, bar 8) and the opening range is 354.47 to 362.18. exit.py plan --stop or-mid --target 1R --write:

Exit plan: TSLA long, Mon 2026-10-19, opening-range breakout on 5-minute bars
  Entry         $364.18 at 10:15 AM (bar 8)
  Stop          $358.32  opening-range midpoint: ($362.18 + $354.47) / 2 = $358.325, rounded down
  Target        $370.04  1R (one times the risk)
  Risk a share  $5.86 (1.61% of the entry)
  Reward:risk   1.0
  Flat by       15:55 ET, win or lose: no overnight hold

The default 2R target would be 364.18 + 2 x 5.86 = 375.90. trader-budget then sizes it: a $50 max loss per trade buys floor(50 / 5.86) = 8 shares.

Rules

  • The stop and the target are set before the entry, never after.
  • Never move a stop further from the entry once the trade is on.
  • Plain numbers only: entry, stop, target, risk a share, reward:risk. It never prints a P&L or a return.
  • Nothing here promises winning trades or money. A 1R target is not a prediction that the price gets there.
  • Long side only. v2 plans longs only.

What it never does

It never places an order, never sizes a position, never widens a stop to make a plan pass, and never calls a stop a guarantee.

Safety

  • Education and tooling, not financial advice. A PASS is a rules check, not a recommendation.
  • Paper trading by default ("paper": true). Going live is the user's own decision, in their own config.
  • Nothing in this pack places an order except trader-broker, and only when all three hold: trader-risk passed that exact order today, the user typed an explicit yes for that one order in the chat, and the user clicked Allow once on Claude's own card because the order tool is set to "Needs approval" (Customize > Connectors > tool permissions). Never set an order tool to "Always allow".
  • No options, margin, short selling or leverage unless the config allows it and the user confirms.
  • Broker keys live in environment variables or the Claude Desktop config, never in the chat.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Trader Exit?

Exit Planner. Sets your stop and your target before you enter, so you know when to get out. Reads the entry from trader-entry (or a price you give), puts the stop at the opening-range midpoint by default (or the range low, your price, a percent, or a multiple of the ATR), rounds it down to the cent, and sets the target at 2R (or 1R, or your price). Refuses a stop at or above the entry, a target at or below it, or a stop too tight to survive the spread, and says why. Writes trader/plan.json for the Time Machine, the Budget Manager and Price Alerts. Long side only. Use when the user says "whe...

¿Por qué usar Trader Exit en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Trader Exit está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Trader Exit en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Jakeschincariol/day-trader-skill/tree/main/trader-exit. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Trader Exit?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Trader Exit?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Trader Exit con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Trader Exit?

Sí. Jakeschincariol la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇