Skip to content
Fourohtwo

Know what drove your returns

www.u2a.com.au/api/mcp/portfolio-attribution

Know what drove your returns. Deterministic, no-LLM portfolio attribution: send position start/end values, dated cash flows, and a reporting period; get Modified Dietz and XIRR returns, alpha against BTC, ETH, stETH, or a benchmark you supply prices for, plus per-position contribution. Caller-declared data-quality flags, a calculation hash, and an optional EIP-191 signature support transparent rep

BaseAnswering
POSThttps://www.u2a.com.au/api/mcp/portfolio-attribution

Uptime100% of 1 check 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://www.u2a.com.au/api/mcp/portfolio-attribution", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"benchmarks":[{"end_price":112000,"id":"BTC","start_price":94000},{"end_price":3900,"id":"stETH","income_return":{"status":"estimated","value":0.022},"start_price":3300}],"currency":"USD","period":{"end":"2026-09-30","start":"2026-01-01"},"positions":[{"end_value":{"source":"coingecko close 2026-09-30","status":"verified","value":12600},"flows":[{"amount":2000,"date":"2026-04-01","source":"tx 0x9),
});
console.log(await res.json());

Example input

{"benchmarks":[{"end_price":112000,"id":"BTC","start_price":94000},{"end_price":3900,"id":"stETH","income_return":{"status":"estimated","value":0.022},"start_price":3300}],"currency":"USD","period":{"end":"2026-09-30","start":"2026-01-01"},"positions":[{"end_value":{"source":"coingecko close 2026-09-30","status":"verified","value":12600},"flows":[{"amount":2000,"date":"2026-04-01","source":"tx 0x9

More from U2AProvider status