Skip to content
Fourohtwo

Paper Exchange

desktop-e0tud1n.tail4e5538.ts.net/paper/close

Paper Exchange — close a simulated position at the live two-source price. Returns the signed outcome record: net P/L after the simulated fee model, risk metrics (win rate, max drawdown, best/worst trade), and a signed outcome certificate for the wallet's whole book. POST body: {position_id}.

BaseAnswering
POSThttps://desktop-e0tud1n.tail4e5538.ts.net/paper/close

Uptime100% of 4 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://desktop-e0tud1n.tail4e5538.ts.net/paper/close", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"position_id":"0123456789abcdef"}),
});
console.log(await res.json());

Example input

{
  "position_id": "0123456789abcdef"
}