x402
utility

Position size from account risk budget and stop distance. Call when fixed-fractional sizing without a broker SDK. Returns size from risk dollars and stop as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

post/api/v1/x402/position-size-risk

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/position-size-risk
  • Auth: none declared

Request body

equityinteger required

Input field: equity.

risk_pctnumber required

Input field: risk pct.

entryinteger required

Input field: entry.

stopinteger required

Input field: stop.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
risk_dollarsnumber
sizenumber
entrynumber
stopnumber

Changes

No recorded changes to this operation across all 1 revision of this API.