batch-inference-analysis

Analyzes QuantMind batch inference signals for stock selection, sector rotation, and short-selling decisions.

1.5k|337|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/qusong0627/QuantMind --skill batch-inference-analysis-qusong0627
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: batch-inference-analysis
Source: https://github.com/qusong0627/QuantMind/tree/main/skills/batch-inference-analysis
Command: npx skills add https://github.com/qusong0627/QuantMind --skill batch-inference-analysis-qusong0627

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Quantitative traders running daily batch inference on thousands of stocks need a repeatable methodology to turn raw fusion scores into actionable decisions: whether to enter the market, which stocks to buy, how much position to take, and which names to short. This Skill encodes that decision framework against the QuantMind API. ## Core Features & Use Cases - Market State Judgment: Three-layer filtering using industry signal strength (ind_avg_top1), index MA20 trend, and strong-industry counts to decide entry, position sizing, or staying flat. - Stock Selection & Short Reference: Score-band based picking (golden zone, chase-risk zones), 3-day score trend patterns, and negative-score short candidates filtered by market cap tier and board. - Score Calibration Backtest: Submits async score-calibration tasks per model to map absolute thresholds to each model's actual score distribution, since thresholds are not portable across models. - Use Case: After a nightly batch inference completes, ask the agent to analyze the latest batch: it pulls member runs, checks market state, lists 3-5 buy candidates in the calibrated score band, flags micro-cap deep-negative names as short references, and summarizes sector rotation over the past 30 trading days. ## Quick Start Ask the agent to analyze the latest completed batch inference results and output today's market state, position sizing, stock picks, and short-selling candidates.

Frequently Asked Questions about batch-inference-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze batch inference results for daily stock selection?

Fetch the latest completed batch via /models/inference/batches, get member run IDs, then pull signal items from /models/inference/runs/{run_id}. Compute industry average top scores for market state, filter stocks in the calibrated score band, and check 3-day score trends before picking 3-5 names.

How to calibrate score thresholds for a new quant model?

Submit a POST to /api/v1/selection/score-calibration with days and horizons parameters, then poll the returned task_id until completed. Use the recommended_band in the result to replace default thresholds, since absolute score ranges differ between models.

Can I reuse the same fusion score thresholds across different models?

No. Each trained model has a different score distribution, so absolute thresholds like 0.10-0.12 are not portable. Run score_distribution or the calibration endpoint first and map decisions to percentiles or the recommended band for that model.

When should negative fusion scores be used as short signals?

Negative scores only work as short signals for micro-cap and small-cap stocks at extreme levels such as -0.15 or below. Large-cap and STAR Market negative scores are frequently mispriced upward, and scores above -0.06 carry no information.

Why does the skill require running scripts inside a Docker container?

Scripts importing pandas, duckdb, psycopg2, or backend packages must run inside the quantmind container because the local QwenPaw environment lacks those dependencies. Pure standard-library scripts can run locally, and the API base URL switches to http://quantmind:8000 inside the container network.