HPSILab Quant Finance
v0.11.1Stock & options risk analytics for AI agents: pre-trade risk scan, IV, gamma walls, Monte Carlo.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_stock
Run a full institutional-grade quantitative analysis for a single stock. This is the **primary tool** for a complete market view. It aggregates results from AI prediction, implied-volatility radar, options-pressure map, Monte Carlo simulation, and strategy backtesting into one unified signal. Use this tool when: - You need a holistic bull/bear verdict with supporting evidence. - You want to compare multiple signal sources in a single call. - A user asks for a "stock analysis", "market view", or "trading signal". Prefer the dedicated sub-tools (get_iv_ra…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY', 'QQQ'. Do NOT pass company names ('Nvidia') — use official tickers only. |
get_iv_radar
Retrieve implied-volatility (IV) metrics for a single stock. Use this tool when: - You need to assess whether options are cheap or expensive relative to historical norms (IV rank / IV percentile). - You want the current volatility regime ("Low", "Normal", "Elevated", "Extreme") to frame risk sizing or strategy selection. - You are analyzing skew or risk-reversal direction (put-heavy vs call-heavy market). Do NOT use this tool if you already called analyze_stock — the IV data is included in that response. Returns ------- dict with…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY', 'QQQ'. Do NOT pass company names ('Nvidia') — use official tickers only. |
get_option_pressure
Retrieve options-market positioning and dealer-hedging pressure zones. Use this tool when: - You want to identify max-pain price (where option sellers face least loss at expiry) as a gravitational target near expiration. - You need to locate gamma walls (strike clusters with large open interest) that act as price magnets or resistance/support levels. - You want the expected-move range implied by the options market for the current weekly/monthly expiry cycle. Returns ------- dict with keys: symbol : str — normalized ticker…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY', 'QQQ'. Do NOT pass company names ('Nvidia') — use official tickers only. |
get_monte_carlo
Run a Monte Carlo price-path simulation for a stock over the next 10 trading days. Use this tool when: - You need a probabilistic price range rather than a single point estimate. - You want the odds of finishing above recent resistance or below support. - You are sizing a position using a volatility-adjusted scenario. The simulation uses a GBM (Geometric Brownian Motion) model calibrated with the stock's historical daily log-return drift and volatility (not implied volatility). 5,000 paths are run. Returns ------- dict with keys: tick…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY', 'QQQ'. Do NOT pass company names ('Nvidia') — use official tickers only. |
get_ai_prediction
Get an AI/ML directional prediction for a stock's next-session move. Use this tool when: - You want a data-driven probability estimate for the next trading day's direction (up vs. down). - You need the individual model votes (ensemble breakdown) to assess consensus strength. - You want to compare model confidence against current IV pricing. The prediction engine uses an ensemble of gradient-boosted trees, an LSTM, and a VQC (quantum-classical hybrid) model. Features include VIX, relative strength, Treasury rates, and options flow signals. Re…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'META', 'QQQ'. Do NOT pass company names — use official tickers only. Per-ticker model accuracy varies; META and QQQ have shown above-baseline hit rates in… |
get_equity_curve
Retrieve backtested equity curves and performance metrics for standard quantitative strategies applied to a single stock. Use this tool when: - You want to evaluate how well rule-based strategies (momentum, mean- reversion, vol-targeting) have performed on this specific ticker. - You need risk-adjusted return metrics (Sharpe, Sortino, max drawdown) to compare strategy quality. - You are building a multi-leg options strategy and want historical context for the underlying's trending vs. mean-reverting behavior. Returns ------- dict with ke…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY', 'QQQ'. Do NOT pass company names ('Nvidia') — use official tickers only. |
generate_stock_research_report
Generate a structured, institutional-style markdown research report for a single stock, covering all major quantitative signal sources. The report is divided into six sections: 1. Executive Summary — bull/bear verdict, confidence score, one-line thesis 2. AI Prediction — ensemble model votes, up-probability, regime 3. Volatility Analysis — ATM IV, IV rank, vol regime, risk reversal 4. Options Positioning — max pain, gamma wall, expected move, squeeze targets 5. Monte Carlo Outlook — 10-trading-day price distribution and 90 % range…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'TSLA', 'SPY'. Do NOT pass company names — use official tickers only. |
generate_stock_images
Generate chart image URLs for a stock: price chart, IV surface, and options flow heatmap. Use this tool when: - A user explicitly asks to "see", "show", or "visualize" a chart. - You want to accompany a written analysis with supporting visuals. - You need to share chart links in a report or message. Parameters ---------- force: Regenerate images instead of reusing cached artifacts. Defaults to True. types: Optional subset of chart types. Allowed values: ai_prediction, iv_radar, option_pressure, monte_carlo, equity_curves. Omit…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL'. Do NOT pass company names — use official tickers only. |
force | boolean | Regenerate hosted images instead of reusing cached artifacts. |
types | Optional chart types to generate. Omit or use null to generate every type. |
get_pretrade_risk_scan
Run a pre-trade risk scan for a single stock: the stock's own volatility/beta/VaR/drawdown set against the SPY benchmark, market regime, a forward return distribution for the stock, position-sizing checks on the stock's own metrics, and — against the user's tracked watchlist — the sector/symbol exposure impact of adding it and its correlation to existing holdings. riskDeltas compare SPY with the stock on its own. They are NOT the risk of the user's portfolio before and after the trade; only `exposure` and `correlation` use the portfolio. Use this…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY'. Do NOT pass company names — use official tickers only. |
register_account
Register a free HPSILab account from the client and receive an API key. Use this tool when: - The user has no API key yet and asks to sign up from here, with their own email address. This is the only tool that works without HPSILAB_API_KEY; the user can also register at https://hpsilab.com/register. - The user already has a key and asks for a fresh one for the same account. It creates an account and sends a verification email, so call it only when the user asks, never to get around another tool's error on your own. After it succeeds, set HPSILAB_API_…
| Parameter | Type | Description |
|---|---|---|
email * | string | A real email address to own the account. Use the operator's address if you have one — the verification link is sent there, and an address nobody reads leaves the account permanently at the anonymous… |