/day-trader-skill:trader-timemachine [path to plan.json, or TICKER]from day-trader-skill
Monte Carlo simulates a trade plan 10,000 times using the stock's own 5-minute bars from the last 60 days. Takes entry/stop/target from trader-exit, replays every past session, and prints odds of hitting target first, stop first, or neither.
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.
The Time Machine sits between the plan and the money. trader-exit has set the entry, the stop and the target. Before anything is sized or sent, this skill asks one question: if today plays out like the stock's own last 60 days, how often does this plan hit the target first, the stop first, or neither? It answers with 10,000 replays and with the real record of the same rule on every past session. It is a simulation built from the stock's own recent bars, not a prediction. Day trading loses most people money, and a good-looking replay does not change that.
${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run # trader/plan.json, 10,000 replays, seed 19
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --write # also save trader/timemachine.json
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --until 15:55 # end each replay at your flat-by time
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --json
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --symbol TSLA --date 2026-10-19 \
--entry 364.18 --stop 358.32 --target 370.04 --entry-time "10:15 AM"
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" chart --from # ASCII fan chart of the saved run
Other flags: --replays N, --seed N (default 19), --window N (default 2
bars), --offline FILE (a saved Yahoo chart JSON, .json or .json.gz),
--now "2026-10-19 10:15" (New York time) to pin the clock.
| file | what |
|---|---|
trader/plan.json | the plan from trader-exit: symbol, date, entry, entry_time / entry_bar, stop, stop_rule, target, target_r, opening range |
| Yahoo chart API | one request: 60 days of 5-minute bars (range=60d&interval=5m), free and unofficial, can lag |
trader/timemachine.json | with --write: {plan, mc, history} plus the verdict. mc holds the odds, percentiles, the fan-chart bands, 160 sample paths and a 24-bin histogram of the close |
--until (default 4:00 PM, the
close, or 1:00 PM on an NYSE early-close day). Green, which means target
first or above the entry at --until.
R is +1 at a 1R target, -1 at the stop, and otherwise the distance from
the entry at --until divided by the risk. A gap through the stop still
counts as -1R here. A real fill can be worse.--until decides those), and the
average R when its sign goes against the lean. Those can only point the
other way because of the replays that hit neither.The seed. The draws come from Python's random.Random(seed), seed 19 by
default. Same plan, same data, same seed: the same numbers, on any machine.
Say the seed with every result so the user can repeat it.
5-minute bars only. Yahoo keeps 60 days of 5-min bars but only about 7 days of 1-min bars, too few sessions for a fair pool. It refuses, in one plain line, when there are fewer than 20 full sessions, when the entry bar is not in the data (wrong date, not closed yet, a future day), or when the plan does not make sense (a stop above a buy's entry, an entry off the 5-minute grid). A live in-progress bar is never used.
trader/plan.json is today's plan from /trader-exit. If there
is none, run that first, or pass the plan as flags.timemachine.py run --write. Add --until 15:55 when the plan has a
flat-by time, so "neither" means still open at the time you would get out./trader-news for the stock before going on./trader-budget to size it.TSLA, Monday 2026-10-19. The 15-minute opening range is 354.47 to 362.18. The 10:10 bar closes above it: entry 364.18 at 10:15 AM (bar 8), stop 358.32 (the range midpoint, rounded down), target 370.04 (1R, risk 5.86 a share).
10,000 replays of the rest of the session, 10:15 AM to 4:00 PM (69 five-minute bars), seed 19.
target first 29.4 %
stop first 25.5 %
neither 45.1 % still open at 4:00 PM
green 51.7 % target first, or above the entry at 4:00 PM
Price at 4:00 PM: median 364.36, 90 % of replays between 355.54 and 373.54.
Average R: +0.034
History: the same rule on each of those 59 real sessions fired 33 times:
13 target, 15 stop, 5 neither. Average R -0.062.
Close to a coin flip: target first 29.4 % vs stop first 25.5 %.
45.1 % of the replays hit neither by 4:00 PM; the price at 4:00 PM decides those.
At 1R the target has to come first in half of the replays that hit one
side. It did in 53.6 %. The replays came out close to a coin flip, and the
real history was slightly worse than even. That is the honest answer for this setup, and it is what
the user should hear before /trader-budget sizes 8 shares.
It never places an order, never sizes a position, never changes the plan, and never calls a result a sure thing. It never prints a P&L or a profit. It never uses a bar that has not closed yet, and never mixes today's bars into the pool.
"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
Three short reads, in order
npx claudepluginhub freshforex164-cmyk/ge-nexus --plugin day-trader-skill11 skills in this plugin
/trader-alertsPrice Alerts. Rings when a price, a stop or the opening bell hits. Turns the trade plan into three alerts in one go (the stop, the target and "flat by close" at your flat-by time), plus above / below / stop / target levels, percent moves from the previous close, any time of day, and the NYSE opening bell, each ringing once so you are not spammed. Knows NYSE hours with the 2026 and 2027 holidays and 1:00 p.m. early closes, works out New York time itself, fetches free delayed quotes (Yahoo chart JSON, Stooq CSV) one ticker at a time, and writes trader/prices.json for sizing and the risk check. Use when the user says "alert me when", "tell me if TSLA hits", "watch my stop", "watch my trade", "remind me to close by 3:55", "is the market open", "when does the market open", "get me a price", or right after /trader-exit writes a plan./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.13 plugins ship this exact skill · first indexed Oct 21, 2026
Showing 6 of 13 plugins, one per repository first
Other plugins' skills for the same job