{"uid":"cap_AFKEsW50eUBdA40RZjDFd","slug":"portfolio-lonestaroracle-xyz-d243a206","name":"Lone Star Oracle Portfolio Risk Analyzer","description":"Portfolio risk analysis — concentration volatility correlation across holdings","url":"https://portfolio.lonestaroracle.xyz/analyze","method":"GET","headers":{},"bodySchema":{"name":"LoneStarOracle — PortfolioRisk","tags":["portfolio","risk","correlation","diversification","var","beta"],"type":"object","version":"1.0.0","category":"trading","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"tickers":{"type":"string","title":"Tickers"},"weights":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weights"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"summary":"4-asset portfolio: 1yr ret +28.4% | Vol 18.2% | Beta 1.12 | Div score 6.8/10","holdings":[{"beta":1.24,"ret_1y":34.8,"ticker":"AAPL","weight":25,"ann_vol":23.4}],"risk_flags":["sector concentration: Technology at 60%"],"portfolio_beta":1.12,"avg_correlation":0.54,"var_95_1day_pct":1.82,"sector_breakdown":{"ETF":25,"Technology":60},"portfolio_return_1y":28.4,"portfolio_volatility":18.2,"diversification_score":6.8}}}},"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."},"responseSchema":null,"example":{"request":{"method":"GET","tickers":"AAPL,NVDA,MSFT,GOOGL","weights":"0.4,0.25,0.2,0.15"},"response":{"summary":"4-asset portfolio: 1yr ret +43.2% | Vol 18.2% | Beta 1.39 | Div score 9.5/10 | Flags: sector concentration: Technology at 85.0%","tickers":["AAPL","NVDA","MSFT","GOOGL"],"holdings":[{"pe":35.8,"beta":1.09,"price":295.95,"ret_1m":-1.01,"ret_1y":51.15,"ret_3m":18.98,"sector":"Technology","ticker":"AAPL","weight":40,"ann_vol":22.72},{"pe":31.3,"beta":2.2,"price":204.65,"ret_1m":-7.13,"ret_1y":40.86,"ret_3m":14.74,"sector":"Technology","ticker":"NVDA","weight":25,"ann_vol":35.27},{"pe":22.6,"beta":1.1,"price":378.91,"ret_1m":-9.03,"ret_1y":-20.47,"ret_3m":-2.39,"sector":"Technology","ticker":"MSFT","weight":20,"ann_vol":25.88},{"pe":27.8,"beta":1.24,"price":363.79,"ret_1m":-6.1,"ret_1y":110.49,"ret_3m":18.52,"sector":"Communication Services","ticker":"GOOGL","weight":15,"ann_vol":29.55}],"risk_flags":["sector concentration: Technology at 85.0%"],"top_sector":"Technology","analyzed_at":"2026-06-18T05:09:24.149756+00:00","top_holding":"AAPL","portfolio_beta":1.39,"top_sector_pct":85,"avg_correlation":0.227,"missing_tickers":[],"var_95_1day_pct":1.889,"sector_breakdown":{"Technology":85,"Communication Services":15},"correlation_pairs":[{"pair":"NVDA/MSFT","correlation":0.377},{"pair":"AAPL/GOOGL","correlation":0.291},{"pair":"NVDA/GOOGL","correlation":0.277},{"pair":"AAPL/NVDA","correlation":0.191},{"pair":"MSFT/GOOGL","correlation":0.113},{"pair":"AAPL/MSFT","correlation":0.111}],"top_holding_weight":40,"portfolio_return_1m":-4.91,"portfolio_return_1y":43.15,"portfolio_return_3m":13.58,"portfolio_volatility":18.23,"diversification_score":9.5}},"exampleRequest":{"method":"GET","tickers":"AAPL,NVDA,MSFT,GOOGL","weights":"0.4,0.25,0.2,0.15"},"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O-V7PNL40lFOw7ELNHxro","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a portfolio's risk profile including concentration risk, volatility, and correlation across holdings","exampleAgentPrompt":"Can you run a risk analysis on my portfolio — I'm holding 40% AAPL, 25% NVDA, 20% MSFT, and 15% GOOGL — and tell me if I'm too concentrated, how volatile this mix is, and whether these stocks are too correlated with each other?","exampleUseCases":null,"resultDescription":"Returns a risk analysis report covering concentration risk (how heavily weighted any single asset is), volatility estimates across the portfolio, and correlation coefficients between holdings, helping identify diversification gaps or overexposure.","failureModes":["Invalid or unrecognized ticker symbols return an error","Missing holdings data causes incomplete analysis","Weights that do not sum to 100% may return a validation error","Service unavailable or payment failure returns a 402 or 5xx error","Too few holdings may limit correlation computation"],"whenToPreferThis":"Use this endpoint when you need a quick, paid, on-demand risk breakdown of a specific portfolio — particularly for concentration, volatility, and inter-asset correlation analysis. Prefer this over general financial data APIs when you need a synthesized risk score rather than raw price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:34.858Z","isFirstParty":false}