/day-trader-skill:trader-alerts [ticker] [price]from day-trader-skill
Sets price alerts for stocks: stop-loss, take-profit, flat-by-close, opening bell, percent moves. Fetches delayed quotes from Yahoo/Stooq, knows NYSE hours through 2027. Activates on "alert me when", "watch my stop", "is the market open".
Ships in day-trader-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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).
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.
| file | what |
|---|---|
trader/plan.json | the trade from trader-exit, for add --from-plan |
trader/alerts.json | the rules (alerts.example.json in this folder) |
trader/state/alerts.json | which rules rang and when, so each rings once |
trader/prices.json | the latest quotes, merged in, for trader-budget and trader-risk |
trader/portfolio.json | the tickers held, for quote --holdings |
| type | rings when | rings again |
|---|---|---|
above / target | price at or above price | after reset, or on its own if "rearm": true and the price fell back |
below / stop | price at or below price | same |
pct_move | moved pct percent from the previous close (or ref), optional direction up or down | once per day at most |
time | the New York clock passed at ("15:55") on a trading day | once per trading day |
opening_bell | the NYSE is open | once 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.
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.trader/prices.json keeps its quote time, and
trader-risk only uses one under 15 minutes old.get_stock_snapshot, IBKR get_price_snapshot) and write it into
trader/prices.json as {"as_of": "...Z", "prices": {"TSLA": 366.48}}.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):
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.
add --from-plan. Confirm
the three alerts back to the user: the stop, the target and the flat-by time.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.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.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.
It never places, cancels or changes an order, never claims a quote is live, and never predicts where a price is going.
"paper": true). Going live is the user's own decision, in their own config.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ajithkumar31082004-bit/day-trade-skill --plugin day-trader-skill12 plugins ship this exact skill · first indexed Oct 21, 2026
Showing 6 of 12 plugins, one per repository first
11 skills in this plugin
/trader-analystThe Earnings Analyst. Reads a company's reported numbers straight from SEC EDGAR (XBRL company facts from its 10-Qs and 10-Ks, plus the latest earnings 8-K and its press release) and sums up what changed: revenue, gross, operating and net margins, net income and diluted EPS, quarter by quarter, each against the same quarter a year earlier, with the trailing twelve months. Reads an earnings call transcript when you paste one. Use when the user says "how did Tesla's earnings look", "analyze the earnings", "what changed this quarter", "is revenue growing", "check the 10-Q", "compare margins", "sum up the call", "does it report this week", or before trading a stock around its earnings./trader-brokerOrder Executor. Sends approved orders to your broker, paper trading by default, never without your yes. Shows each order as a plain ticket (a bracket shows its stop-loss, take-profit and the max loss at the stop) plus the exact JSON for Alpaca's place_stock_order, records your yes word for word, then Claude's own Allow once / Deny card asks again. Builds the sell ticket that closes a day trade by your flat-by time, records fills, and logs each trade's max loss so trader-risk can hold the daily limit. Covers setting up Alpaca's official MCP server in Claude Desktop (paper by default, keys in env vars, never in chat), the Interactive Brokers connector, and setting order tools to "Needs approval". Use when the user says "place the order", "buy it", "execute", "send it to my broker", "close my position", "flatten", "get me out", "connect Alpaca", "set up paper trading", or after /trader-risk passes.Other plugins' skills for the same job