X402 · Portfolio Risk
Portfolio risk computation: per-holding and portfolio volatility, Sharpe, Sortino, max drawdown, VaR/CVaR, correlation and concentration analysis, with optional predefined-scenario stress tests and Monte Carlo distribution. Computed data, not a recommendation.
POST https://coreforge-memory.onrender.com/x402/trading/portfolio-risk
0.05 USDC on Base · payTo 0xc2d3307ca5b87f02bf8b50b73c53e65a4135f1c3
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"holdings": [
{
"dollarValue": 60000,
"symbol": "SPY"
},
{
"dollarValue": 40000,
"symbol": "QQQ"
}
],
"stress": true
}{
"disclaimer": "Computed data only — deterministic output of published rule sets over market data. Not financial advice, not a recommendation, not a promise of performance.",
"holdings": [
{
"dollarValue": 60000,
"maxDrawdown": -0.16,
"sharpeRatio": 0.85,
"symbol": "SPY",
"volatility": 0.15,
"weight": 0.6
}
],
"portfolio": {
"annualizedReturn": 0.11,
"historicalCVaR95": 0.03,
"historicalVaR95": 0.021,
"maxDrawdown": -0.18,
"observations": 252,
"sharpeRatio": 0.8,
"sortinoRatio": 1.1,
"totalValue": 100000,
"volatility": 0.16
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 64 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 203 ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
POST https://coreforge-memory.onrender.com/x402/trading/portfolio-risk · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"holdings": {
"type": "array",
"items": {
"type": "object"
},
"description": "2-20 holdings: {symbol, dollarValue | weight, bars? | closes?, beta?, sector?}. Bars are fetched server-side when not supplied."
},
"totalValue": {
"type": "number",
"description": "Portfolio value when sizing by weight"
},
"stress": {
"type": "boolean",
"description": "Run the predefined scenario stress tests"
},
"monteCarlo": {
"type": "boolean",
"description": "Add a 500-simulation, 252-day Monte Carlo distribution"
}
},
"required": [
"holdings"
]
}Output schema
{
"type": "object",
"properties": {
"portfolio": {
"type": "object",
"description": "Volatility, Sharpe, Sortino, max drawdown, historical VaR/CVaR at portfolio level"
},
"holdings": {
"type": "array",
"items": {
"type": "object"
},
"description": "Per-holding weight, value and the same risk metrics"
},
"correlationRisk": {
"type": "object",
"description": "Correlation matrix summary and concentration analysis"
},
"stress": {
"type": "object",
"description": "Scenario stress results when requested"
},
"monteCarlo": {
"type": "object",
"description": "Distribution percentiles and loss probabilities when requested"
},
"disclaimer": {
"type": "string",
"description": "Computed data only — deterministic output of published rule sets over market data. Not financial advice, not a recommendation, not a promise of performance."
}
}
}curl -i -X POST 'https://coreforge-memory.onrender.com/x402/trading/portfolio-risk' \
-H 'content-type: application/json' -d '{"holdings":[{"symbol":"SPY","dollarValue":60000},{"symbol":"QQQ","dollarValue":40000}],"stress":true}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs