Skip to content
Fourohtwo

Statistical edge check for a trading strategy

geo-audit-x402.vojtech-digital.workers.dev/v1/trading-metrics

Statistical edge check for a trading strategy. POST JSON with per-trade PnL (trades), periodic fractional returns (returns) and/or an equity curve (equity). Returns winRate, avgWin, avgLoss, payoffRatio, expectancy, profitFactor, totalPnl, maxDrawdown (abs and pct), maxConsecutiveLosses, Sharpe, Sortino, Kelly fraction, one-sample t-statistic and one-sided p-value for mean > 0, a seeded 1000-sampl

BaseAnswering
POSThttps://geo-audit-x402.vojtech-digital.workers.dev/v1/trading-metrics

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://geo-audit-x402.vojtech-digital.workers.dev/v1/trading-metrics", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"trades":[12.5,-8,30,-4.2,18,-11,7.5,22,-9,15],"startingEquity":1000}),
});
console.log(await res.json());

Example input

{
  "trades": [
    12.5,
    -8,
    30,
    -4.2,
    18,
    -11,
    7.5,
    22,
    -9,
    15
  ],
  "startingEquity": 1000
}