{"uid":"cap_lVgEQt9Zq4c2laXKIdvmC","slug":"lonestaroracle-portfoliorisk-9d7eef4d","name":"LoneStarOracle PortfolioRisk","description":"Portfolio risk analysis — concentration volatility correlation across holdings","url":"https://api.aidress.ai/pay/agent_portfolio_lonestaroracle_xyz","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":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_GJAhihuwlZCNbun_5T_Z8","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 portfolio risk across up to 20 tickers, returning volatility, beta, VaR, correlation, diversification score, and sector concentration flags","exampleAgentPrompt":"Can you run a portfolio risk analysis on my holdings — AAPL at 25%, MSFT at 25%, NVDA at 25%, and SPY at 25%? I want to see the volatility, beta, VaR, diversification score, and any sector concentration warnings.","exampleUseCases":[{"title":"Pre-rebalancing risk review","prompt":"I'm thinking of rebalancing my portfolio — right now I hold AAPL 30%, GOOGL 20%, AMZN 20%, MSFT 20%, and TSLA 10%. Can you run a full risk analysis and tell me if I'm too concentrated anywhere, what the beta and volatility look like, and whether I should be worried about correlation between these picks?"},{"title":"Equal-weight tech basket check","prompt":"I own equal positions in NVDA, AMD, INTC, QCOM, and AVGO. Can you analyze the risk on that basket — especially the sector concentration, average correlation, and 1-day 95% VaR?"},{"title":"Diversified ETF and stock mix assessment","prompt":"My portfolio is 40% SPY, 20% QQQ, 20% AAPL, and 20% JPM. What's the diversification score, portfolio beta, and annualized volatility on that mix? Flag any risk issues."}],"resultDescription":"Returns a portfolio-level summary including 1-month, 3-month, and 1-year weighted returns, annualized portfolio volatility, portfolio beta, 1-day 95% VaR as a percentage, average pairwise correlation, a diversification score from 0 to 10, sector concentration breakdown, per-holding metrics (return, volatility, beta, weight), top correlated pairs, and risk flags such as sector overconcentration.","failureModes":["Invalid or unrecognized ticker symbols return errors or are silently skipped","Weights that don't sum to 100 may produce unexpected results or be rejected","More than 20 tickers may be rejected or truncated","Stale or missing market data for illiquid tickers may cause incomplete output","Malformed query parameter format (e.g. bad delimiter for tickers) causes parse errors"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, multi-metric portfolio risk snapshot across a basket of equities — including beta, VaR, correlation, diversification score, and sector flags — in a single call. Prefer it over individual stock analysis endpoints when the user's question is about their combined holdings rather than a single security, and when they need actionable risk flags for rebalancing or review decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:26.588Z","isFirstParty":false}