/merrymen-trader:trader-alerts [ticker] [price]from Merrymen Day Trader
Sets price alerts for stocks: stop-loss, target, flat-by-close, opening bell, percent moves. Fetches delayed quotes from Yahoo/Stooq and writes prices.json. Knows NYSE hours and holidays.
Ships in Merrymen Day Trader. 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. Merrymen holds no resting stop or target order, so these alerts are what watches the plan: when the stop, the target or the flat-by time rings, getting out is a sell the user says yes to and the owner approves in Merrymen (trader-broker flatten). Between a check and that approval the price keeps moving, so a sale can fill well past the stop.
${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_token for its address) and write it into trader/prices.json as
{"as_of": "...Z", "prices": {"TSLA": 366.48}}, with the price's own time.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_portfolio for the holding's value, trader-broker
flatten, a fresh quote, trader-risk, the user's yes, then the owner's
approval in Merrymen. "Flat by close" means the same for anything still
open. Never act for them, and never propose from the scheduled check.subscribe with kind
watchlist_price (the token's address and an below level at the stop)
sends the owner a Telegram message even when Claude is not running. It
needs a linked Telegram and the "Manage your alerts" permission at sign-in.
It is a message only; it sells nothing.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, your yes
and your approval in Merrymen.
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): trader-risk blocks every order unless the Merrymen agent is in
practice (paper) mode. Going live is the owner's own decision, made in Merrymen and in their own config.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub merrymen-labs/merrymen --plugin merrymen-trader11 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 for Merrymen. Turns an order that trader-risk passed into ONE Merrymen trade proposal for the user's own agent, never without their yes. Shows each order as a plain ticket (a USDG amount of one stock token, the plan's stop and target, the max loss with the token's price and costs) plus the exact propose_trade call, records the yes word for word, then Claude's own permission card asks again and the owner approves the proposal in Merrymen. Links the agent (list_agents, get_agent_status, get_agent_controls) and the stock-token list (discover_tokens), follows a proposal with get_proposal, records fills, and builds the sell that closes a day trade by the flat-by time. Paper (practice) by default. Use when the user says "place the order", "buy it", "execute", "send it to Merrymen", "trade it on my Merryman", "close my position", "flatten", "get me out", "connect Merrymen", "set up paper trading", or after /trader-risk passes./trader-budgetBudget Manager. Sizes every position to your budget, your max loss per trade and your Merrymen agent's own signed limits. Reads the trade plan from trader-exit (entry, stop, target), finds the USDG amount that fits inside every limit (max loss per trade, position cap, max order, cash after your buffer, the agent's per-trade limit, the owner-order cap and half of what is left of its 24-hour budget), says which limit decided it, and writes ONE Merrymen order (a USDG amount of one stock token, by address) to trader/orders.json. A stop too far away for your max loss is a plain refusal, not a smaller order. Nothing is sent. Use when the user says "how much should I buy", "size this trade", "I have $200 on my Merryman", "I only want to risk $2 a trade", "set my rules", "keep 10% in cash", or after /trader-exit writes a plan./trader-entryEntry Timer. Watches a setup bar by bar and tells you the moment to get in. Reads free Yahoo 1-minute or 5-minute bars, builds the opening range (the first 15 minutes by default) and calls the entry on the first completed bar that CLOSES above the range high, or above a level you give it (like a 20-day high from the scanner), with an optional volume check. Says waiting and how far, triggered with the time and the price, expired, or not open yet, and writes trader/entry.json for /trader-exit. Long side only. It never places an order. Use when the user says "tell me when to get in", "watch TSLA", "has it broken out", "did it break the opening range", "entry signal", "time my entry", "check my watchlist", or after /trader-scanner and /trader-news, before /trader-exit./trader-exitExit 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./trader-newsNews Monitor. Tracks breaking news on every stock you watch and flags what moves it: Yahoo Finance headlines per ticker, each company's 8-K filings on SEC EDGAR (earnings, CEO changes, deals, restatements, bankruptcy) and how far each stock is from yesterday's close. Shows only what is new since the last check, newest first, in New York time, tags each item (earnings, analyst, deal, halt, regulatory, macro...) and never repeats one. Use when the user says "any news on TSLA", "why is this moving", "what's the news on my watchlist", "morning briefing", "pre-market news", "monitor the news", "did anything break", "check the 8-Ks", or after /trader-scanner finds setups.Other plugins' skills for the same job