Skip to content
Fourohtwo

Portfolio risk computation

coreforge-memory.onrender.com/x402/trading/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.

BaseAnswering
POSThttps://coreforge-memory.onrender.com/x402/trading/portfolio-risk

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://coreforge-memory.onrender.com/x402/trading/portfolio-risk", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"holdings":[{"dollarValue":60000,"symbol":"SPY"},{"dollarValue":40000,"symbol":"QQQ"}],"stress":true}),
});
console.log(await res.json());

Example input

{
  "holdings": [
    {
      "dollarValue": 60000,
      "symbol": "SPY"
    },
    {
      "dollarValue": 40000,
      "symbol": "QQQ"
    }
  ],
  "stress": true
}

More from CoreForge Trading DataProvider status