Portfolio risk analysis — concentration volatility correlation across holdings
Portfolio risk analysis — concentration volatility correlation across holdings
100000 (raw units)
price
4
calls / 30d
1
unique payers
2026-09-16
updated
Provider
portfolio.lonestaroracle.xyz · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "100000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:4663",
"payTo": "0xeF2a4B6756895aAf1374640dcFCD4947959442ab",
"asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"amount": "100000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"tickers": "AAPL",
"weights": "example"
},
"type": "http"
},
"output": {
"example": {
"avg_correlation": 0.54,
"diversification_score": 6.8,
"holdings": [
{
"ann_vol": 23.4,
"beta": 1.24,
"ret_1y": 34.8,
"ticker": "AAPL",
"weight": 25
}
],
"portfolio_beta": 1.12,
"portfolio_return_1y": 28.4,
"portfolio_volatility": 18.2,
"risk_flags": [
"sector concentration: Technology at 60%"
],
"sector_breakdown": {
"ETF": 25,
"Technology": 60
},
"summary": "4-asset portfolio: 1yr ret +28.4% | Vol 18.2% | Beta 1.12 | Div score 6.8/10",
"var_95_1day_pct": 1.82
},
"format": "json",
"type": "object"
}
},
"schema": {
"category": "trading",
"description": "Portfolio risk analysis for up to 20 tickers. Returns weighted portfolio returns (1m/3m/1y), annualized volatility, portfolio beta, 1-day 95% VaR, average correlation, diversification score (0-10), sector concentration breakdown, top correlated pairs, and risk flags. Supports custom weights or equal-weight. Ideal for portfolio review, risk assessment, and rebalancing decisions.",
"name": "LoneStarOracle — PortfolioRisk",
"properties": {
"input": {
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"tickers": {
"title": "Tickers",
"type": "string"
},
"weights": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Weights"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"avg_correlation": 0.54,
"diversification_score": 6.8,
"holdings": [
{
"ann_vol": 23.4,
"beta": 1.24,
"ret_1y": 34.8,
"ticker": "AAPL",
"weight": 25
}
],
"portfolio_beta": 1.12,
"portfolio_return_1y": 28.4,
"portfolio_volatility": 18.2,
"risk_flags": [
"sector concentration: Technology at 60%"
],
"sector_breakdown": {
"ETF": 25,
"Technology": 60
},
"summary": "4-asset portfolio: 1yr ret +28.4% | Vol 18.2% | Beta 1.12 | Div score 6.8/10",
"var_95_1day_pct": 1.82
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"tags": [
"portfolio",
"risk",
"correlation",
"diversification",
"var",
"beta"
],
"type": "object",
"version": "1.0.0"
}
}
}Use it
curl
curl "https://portfolio.lonestaroracle.xyz/analyze" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://portfolio.lonestaroracle.xyz/analyze");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://portfolio.lonestaroracle.xyz/analyze")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5114.json, and this resource appears in /discovery/resources and /discovery/search.