Logo de Trader Alerts

Trader Alerts

Comunidade
Jakeschincariol
trader-alerts

Alertas de preço. Disparam quando um preço é atingido, um stop é acionado ou o sino de abertura toca. Transformam o plano de trade em três alertas de uma só vez (o stop, o alvo e “encerrar até o fechamento” no horário definido), além de níveis acima/abaixo, stop/alvo, variações percentuais em relação ao fechamento anterior, qualquer horário do dia e o sino de abertura da NYSE. Cada alerta toca uma única vez para evitar spam. Conhecem os horários da NYSE, incluindo os feriados de 2026 e 2027 e os fechamentos antecipados às 1:00 p.m. Calculam o horário de Nova York automaticamente, buscam cotações gratuitas com atraso (Yahoo chart JSON, Stooq CSV), um ticker por vez, e gravam trader/prices.json para dimensionamento e verificação de risco. Use quando o usuário disser “me avise quando”, “me diga se TSLA chegar a”, “acompanhe meu stop”, “acompanhe meu trade”, “lembre-me de fechar até 3:55”, “o mercado está aberto?”, “que horas o mercado abre?”, “consiga um preço para mim” ou logo após /trader-exit gerar um plano.

Add to TypingMind

Visão geral

Publicado porJakeschincariol
Repositórioday-trader-skill
Nome da habilidadetrader-alerts
Estrelas
617
Forks
119
Arquivos incluídos
2
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 2

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Jakeschincariol no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Trader Alerts no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Jakeschincariol/day-trader-skill/tree/main/trader-alerts
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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-alerts .claude/skills/trader-alerts
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Trader Alerts em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Trader Alerts automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Trader Alerts não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

trader-alerts

Price Alerts watches the numbers so the user does not have to stare at a chart. An alert is information, never an order: when a stop alert rings, nothing is sold by this skill. With a bracket order the stop-loss and the take-profit already sit at the broker and do the work; the alerts tell the user what happened and when it is time to be flat.

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

bash
python3 "${CLAUDE_SKILL_DIR}/alerts.py" clock                          # NYSE open or closed, next open
python3 "${CLAUDE_SKILL_DIR}/alerts.py" add --from-plan                # stop, target, flat by close from trader/plan.json
python3 "${CLAUDE_SKILL_DIR}/alerts.py" add --opening-bell
python3 "${CLAUDE_SKILL_DIR}/alerts.py" add --symbol TSLA --stop 358.32
python3 "${CLAUDE_SKILL_DIR}/alerts.py" add --symbol TSLA --target 370.04
python3 "${CLAUDE_SKILL_DIR}/alerts.py" add --at 15:55 --label "flat by close" --before-close
python3 "${CLAUDE_SKILL_DIR}/alerts.py" add --symbol KO --pct 3
python3 "${CLAUDE_SKILL_DIR}/alerts.py" check                          # exit 0 = something rang
python3 "${CLAUDE_SKILL_DIR}/alerts.py" quote TSLA --write             # -> trader/prices.json
python3 "${CLAUDE_SKILL_DIR}/alerts.py" quote --holdings --write       # portfolio + plan tickers
python3 "${CLAUDE_SKILL_DIR}/alerts.py" list
python3 "${CLAUDE_SKILL_DIR}/alerts.py" reset tsla-plan-stop

--now "2026-10-19 15:55" pins the clock (New York time); --offline DIR reads saved quote files instead of the network.

What it reads and writes

filewhat
trader/plan.jsonthe trade from trader-exit, for add --from-plan
trader/alerts.jsonthe rules (alerts.example.json in this folder)
trader/state/alerts.jsonwhich rules rang and when, so each rings once
trader/prices.jsonthe latest quotes, merged in, for trader-budget and trader-risk
trader/portfolio.jsonthe tickers held, for quote --holdings

Rule types

typerings whenrings again
above / targetprice at or above priceafter reset, or on its own if "rearm": true and the price fell back
below / stopprice at or below pricesame
pct_movemoved pct percent from the previous close (or ref), optional direction up or downonce per day at most
timethe New York clock passed at ("15:55") on a trading dayonce per trading day
opening_bellthe NYSE is openonce per trading day

A rule with "date" is watched on that New York date only; --from-plan rules carry the plan's date, so yesterday's stop never rings today. A time rule with "before_close": true moves 3 hours earlier on a 1:00 p.m. early close, so "flat by close" at 15:55 rings at 12:55 on those days.

Quotes

  • yahoo (default): query2.finance.yahoo.com/v8/finance/chart/<TICKER>, an unofficial free JSON endpoint, one request per ticker, half a second apart. On a 429 it waits and tries once more; on a 429 or a 5xx after that it tries query1. It identifies itself as day-trader-skill/2.0.
  • stooq: stooq.com/q/l/?s=tsla.us&f=sd2t2ohlcv&h&e=csv, Stooq's free CSV. It answered 404 on 2026-10-13; the parser stays for when it is back.
  • Free quotes are unofficial, delayed and can lag. They are fine for alerts and for checking a size, not for timing an order. The broker's price is the one that fills. Each price in trader/prices.json keeps its quote time, and trader-risk only uses one under 15 minutes old.
  • If both are down, read the price from the broker connector (Alpaca get_stock_snapshot, IBKR get_price_snapshot) and write it into trader/prices.json as {"as_of": "...Z", "prices": {"TSLA": 366.48}}.

The NYSE clock

Regular session 9:30 a.m. to 4:00 p.m. New York time, closed on weekends and on these holidays, from nyse.com/markets/hours-calendars (read 2026-10-13):

  • 2026: Jan 1, Jan 19, Feb 16, Apr 3 (Good Friday), May 25, Jun 19, Jul 3 (Independence Day observed), Sep 7, Nov 26, Dec 25. Early close 1:00 p.m. on Nov 27 and Dec 24.
  • 2027: Jan 1, Jan 18, Feb 15, Mar 26 (Good Friday), May 31, Jun 18 (Juneteenth observed), Jul 5 (Independence Day observed), Sep 6, Nov 25, Dec 24 (Christmas observed). Early close 1:00 p.m. on Nov 26.

Daylight saving time is worked out in the tool, so it needs no time zone files and ignores the computer's own zone. For any other year it says the holiday list is unknown.

Steps

  1. Right after trader-exit writes the plan, run add --from-plan. Confirm the three alerts back to the user: the stop, the target and the flat-by time.
  2. Run check while the trade is open: every few minutes from a Claude scheduled task or /loop. Each run fetches only the tickers in today's rules and rings each alert once. A check reads the latest delayed quote; it is not a live feed, and a price can pass a level between two checks.
  3. Tell the user what rang in one line each. A stop or target alert means the bracket order has probably filled: check get_open_position and record the fill with trader-broker. "Flat by close" means close anything still open: trader-broker flatten, then trader-risk, then the user's yes. Never act for them.

Example: the reel

TSLA on Monday 2026-10-19: entry 364.18 at 10:15 AM, stop 358.32, target 370.04, flat by 15:55. add --from-plan writes tsla-plan-stop, tsla-plan-target and tsla-flat-by for that day. A check at 10:53 reads the real 10:52 quote, 366.48, between the stop and the target:

NYSE OPEN (2026-10-19 10:53 New York, regular session).
Nothing hit. 3 rule(s) watched today, TSLA $366.48.

At 3:55 PM:

ALERT Flat by close: it is 15:55 New York (set for 15:55), the market closes at 16:00. If TSLA is still
open, close it: trader-broker flatten --symbol TSLA builds the sell ticket, then trader-risk and your yes.

It rings once. The next morning the plan's three alerts are no longer watched; with add --opening-bell, the bell rings at 9:30.

Rules

  • An alert is a fact about a price or the clock. Say it as a fact.
  • Never present a quote as live. Free quotes are delayed and unofficial.
  • Confirm every new rule back to the user: ticker, type, level, day.

What it never does

It never places, cancels or changes an order, never claims a quote is live, and never predicts where a price is going.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Trader Alerts faz?

Alertas de preço. Disparam quando um preço é atingido, um stop é acionado ou o sino de abertura toca. Transformam o plano de trade em três alertas de uma só vez (o stop, o alvo e “encerrar até o fechamento” no horário definido), além de níveis acima/abaixo, stop/alvo, variações percentuais em relação ao fechamento anterior, qualquer horário do dia e o sino de abertura da NYSE. Cada alerta toca uma única vez para evitar spam. Conhecem os horários da NYSE, incluindo os feriados de 2026 e 2027 e os fechamentos antecipados às 1:00 p.m. Calculam o horário de Nova York automaticamente, buscam cot...

Por que usar Trader Alerts no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Trader Alerts é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Trader Alerts no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Jakeschincariol/day-trader-skill/tree/main/trader-alerts. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Trader Alerts?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Trader Alerts?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Trader Alerts com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Trader Alerts é gratuita?

Sim. A habilidade é publicada no GitHub por Jakeschincariol sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇