Position-size and risk calculator for trading agents: from account size, risk % per tra…
Position-size and risk calculator for trading agents: from account size, risk % per trade, entry and stop (optional target and leverage) get the position size, notional, money at risk, reward-to-risk ratio, break-even win rate and an estimated liquidation pri…
by api.manylives.me · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Position-size and risk calculator for trading agents: from account size, risk % per trade, entry and stop (optional target and leverage) get the position size, notional, money at risk, reward-to-risk ratio, break-even win rate and an estimated liquidation price. Pure arithmetic, not financial advice.
Tags: trading · crypto · market-data · prices · risk · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-10
{
"account": "10000",
"entry": "120000",
"leverage": "10",
"risk_pct": "1",
"stop": "117600",
"target": "124800"
}{
"break_even_win_rate_pct": 35,
"fees_round_trip_usd": 5,
"leverage": 10,
"liquidation_price_est": 108600,
"margin_usd": 500,
"notes": [
"Arithmetic only. Not financial advice or a recommendation."
],
"notional_usd": 5000,
"position_units": 0.041667,
"reward_to_risk": 2,
"reward_usd": 200,
"risk_after_fees_usd": 105,
"risk_usd": 100,
"side": "long",
"stop_before_liquidation": true
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/33666.jsonfor the price and payment options. - Pay. Call
GET https://api.manylives.me/paid/trading/risk. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 5 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xD161874249321F8AE3000C19DdD070e46682f1B3 | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xD161874249321F8AE3000C19DdD070e46682f1B3",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"break_even_win_rate_pct": {
"type": "number"
},
"fees_round_trip_usd": {
"type": "number"
},
"leverage": {
"type": "number"
},
"liquidation_price_est": {
"type": "number"
},
"margin_usd": {
"type": "number"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"notional_usd": {
"type": "number"
},
"position_units": {
"type": "number"
},
"reward_to_risk": {
"type": "number"
},
"reward_usd": {
"type": "number"
},
"risk_after_fees_usd": {
"type": "number"
},
"risk_usd": {
"type": "number"
},
"side": {
"type": "string"
},
"stop_before_liquidation": {
"type": "boolean"
}
},
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"break_even_win_rate_pct": 0,
"fees_round_trip_usd": 0,
"leverage": 0,
"liquidation_price_est": 0,
"margin_usd": 0,
"notes": [
"string"
],
"notional_usd": 0,
"position_units": 0,
"reward_to_risk": 0,
"reward_usd": 0,
"risk_after_fees_usd": 0,
"risk_usd": 0,
"side": "string",
"stop_before_liquidation": true
},
"type": "string"
}Examples
curl "https://api.manylives.me/paid/trading/risk"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.manylives.me/paid/trading/risk");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.manylives.me/paid/trading/risk")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.manylives.me
- Endpoint
- https://api.manylives.me/paid/trading/risk
- Machine-readable
/resources/33666.json