Build financial JEV questions and validate returned answers against the original questions. TRIGGER - stock_jev_gate, financial JEV question templates, regime choice, noul disqualification, ordinal rating, malformed decision probabilities or timestamp cutoff. SKIP for fitting a predictive model (time-series-forecasting-models), portfolio optimization (portfolio-and-risk), or multi-agent orchestration (finance-agent-architectures).
Ships in fin-strategies. 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.
None: SKILL.md is the whole skill.
The templates are adapted from Shwai He's v2 financial JEV module. They define market
regime choices, per-ticker disqualification questions and ordinal quality ratings for a
caller-selected model. They do not generate forecasts, train a model or select positions.
✅ Code verification, 2026-10-12: tests/test_stock_jev.py exercises these helpers and
rejects malformed responses. Validation reuses the existing fin_skills.model_zoo.jev
wire validator; the hosted adapter's network and credential controls remain unchanged.
from fin_skills.jev import build_macro_regime_question, build_disqualification_question
from fin_skills.api.guards.stock_jev_gate import check_stock_jev_gate
questions = build_macro_regime_question()
questions.update(build_disqualification_question("EXAMPLE"))
# decision_result is the actual response from the model selected by the caller.
# result = check_stock_jev_gate(decision_result, questions)
Always retain the original questions. The guard checks exact question IDs and types,
declared probability keys, finite probability ranges and sums, selected choices, ordinal
expected scores, model identity, and usage fields. It returns the standard GuardResult.
No usage figures are fabricated. Malformed answers fail; malformed question definitions
are rejected as bad inputs.
The optional max_disqualification_rate is a caller-selected policy limit. Without it,
a model may legitimately disqualify every candidate. Passing the answer contract does
not mean probabilities are calibrated or the recommended stocks are safe.
audit_stock_jev_causality(features_df, asof_date) checks the supplied date column
against an inclusive UTC cutoff. Pass source availability timestamps, not just fiscal
period dates. Empty, missing and invalid dates fail. A date-only cutoff means midnight;
use an explicit timestamp to include observations later that day.
🚨 This timestamp check does not establish how features were calculated. Use the actual
signal producer with assert_causal for numerical look-ahead tests. Neural weights,
hardcoded regime forecasts and automatic exposure mappings from v2 are not included.
For hosted calls, retain the explicit network opt-in of fin_skills.model_zoo.jev.JevModel.
See ../../../fin-llm/skills/finance-agent-architectures/SKILL.md for agent orchestration.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/alpha-combination-and-neutralizationScore several alphas, combine them, and strip the exposures you did not mean to take. TRIGGER - information coefficient, IC, rank IC, ICIR, IC decay, "is my IC good", IC t-stat, Newey-West on IC, overlapping forward returns; combining alphas, blending signals, alpha weighting, z-score or rank combination, multi-factor signal; sector neutral, beta neutral, market neutral signal, industry neutralization, residualize the alpha, cross-sectional regression residuals, orthogonalize signals; winsorize, clip outliers, cross-sectional standardization; turnover-aware combination, signal smoothing, "my alpha dies after costs". SKIP for one time-series trend signal (trend-following-models), for the factor library and the alphalens forward-return convention (factor-and-timeseries-research, lib-alphalens), for weights under constraints (portfolio-and-risk), and for whether the survivor is real (backtest-validation)./execution-algorithmsBuild the schedule that works an order - VWAP, TWAP, POV, Almgren-Chriss - and know what each one is optimizing. TRIGGER - VWAP algo, TWAP algo, POV, percentage of volume, participation rate, child order slicing, execution schedule, order scheduling, "how should I work this order", intraday volume profile, U-shaped volume curve; Almgren-Chriss, optimal execution, optimal liquidation, trading trajectory, efficient frontier of execution, risk aversion lambda, trade half-life, kappa, market impact model, temporary vs permanent impact, square root law; implementation shortfall, Perold, arrival price, decision price, delay cost, opportunity cost, unfilled shares. SKIP for measuring fills you already have and choosing a benchmark after the fact (execution-cost-analysis), for spreads, trade classification and order-flow measures (intraday-microstructure), for quoting rather than taking (market-making-models), and for broker order types and routing (broker-execution-apis)./market-making-modelsQuote a two-sided market and survive the inventory - Avellaneda-Stoikov reservation price and optimal spread, and the adverse selection the model does not price. TRIGGER - Avellaneda Stoikov, market making model, optimal market making, reservation price, indifference price, inventory skew, optimal bid ask spread, quoting strategy, "how wide should I quote", skew my quotes, inventory risk, gamma risk aversion market maker; order arrival intensity, A exp(-k delta), Poisson fill model, fill probability vs distance from mid; adverse selection, informed flow, toxic flow, getting picked off, Glosten-Milgrom, order flow toxicity, VPIN. SKIP for measuring realized and effective spreads from your own tape (intraday-microstructure), for working a parent order by taking liquidity (execution-algorithms), for what a fill cost you after the fact (execution-cost-analysis), and for exchange connectivity and order types (broker-execution-apis)./position-sizing-kellyDecide how much to bet given an edge - Kelly, fractional Kelly, and volatility targeting - and the drawdown each implies. TRIGGER - Kelly criterion, Kelly fraction, f star, optimal bet size, "how much should I bet", "how much capital per trade", position sizing, bet sizing, fractional Kelly, half Kelly, quarter Kelly, over-betting, geometric growth rate, expected log wealth, log utility, growth-optimal portfolio; volatility targeting as a sizing rule, size to 10% vol, inverse-vol sizing, leverage from a Sharpe ratio, risk of ruin, probability of a 50% drawdown, drawdown under leverage, "how much leverage can I take". SKIP for the signal that produces the edge (trend-following-models, alpha-combination-and-neutralization), for optimizers and constrained portfolio weights (portfolio-and-risk), for whether the edge is real at all (backtest-validation), and for working the resulting order (execution-algorithms)./trend-following-modelsBuild a trend-following or time-series-momentum strategy the way the paper defines it, and measure the two look-aheads that flatter its backtest. TRIGGER - time series momentum, TSMOM, Moskowitz Ooi Pedersen, 12-month momentum, trend following, managed futures, CTA replication; Donchian channel, turtle rules, breakout system, 20-day high, moving average crossover, golden cross, 50/200 MA; volatility targeting, vol scaling, ex-ante volatility, 40% vol target, risk parity across futures, inverse-vol sizing, ATR sizing; "my trend backtest has a Sharpe of 3", "should I skip the most recent month", "do I trade the close or the next open". SKIP for computing the indicator itself and whether it repaints (signal-construction), for cross-sectional ranking of many names (factor-and-timeseries-research), for combining several alphas into one (alpha-combination-and-neutralization), for how much to bet given an edge (position-sizing-kelly), and for the engine that runs the loop (backtesting-engines)./fin-strategies:stock-jev-meta-gatefrom fin-strategies
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin fin-strategies