Skip to content
Fourohtwo

Portfolio Factors

market2000.xyz/api/portfolio-factors

Portfolio Factors — what your book is actually exposed to. The momentum and trend you are carrying, and how much of your risk is really just the S&P or really just bitcoin. HOW TO CALL: GET /api/portfolio-factors?holdings=xyz:NVDA:1000,BTC:500 PARAMETERS: holdings — TICKER:weight pairs, HL-format tickers (required) lookback — estimation window in days, 60–250 (default 120) RESPONSE: noti

BaseAnswering
GEThttps://market2000.xyz/api/portfolio-factors

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://market2000.xyz/api/portfolio-factors?holdings=xyz%3ANVDA%3A1000%2CBTC%3A500");
console.log(await res.json());

Example input

{
  "holdings": "xyz:NVDA:1000,BTC:500"
}