# Saylor Innovations Position Size Calculator

> Saylor Innovations Position Size Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Calculates trading position size (units, notional, leverage) and take-profit target prices from account equity, risk percent, entry price, and stop price.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/trading/position-size?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-position-size-calculator-496f1872
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G7kUsy7f2lW8CpKeLmynW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-position-size-calculator-496f1872
```

Example prompt: I have a $25,000 trading account and want to risk 1% on a trade — I'm buying at $150.00 with a stop at $144.00. Can you calculate my position size, notional value, leverage needed, and show me the 1R, 2R, and 3R take-profit prices?

## When to prefer this

Choose this endpoint when you need a fast, deterministic position-sizing calculation given account equity, a risk percentage, entry price, and stop price — especially when you also want R-multiple take-profit targets pre-computed. Prefer it over manual calculation or general-purpose math tools when the output format (units, notional, leverage, targets) matches what a trader needs directly.

## Known failure modes

- Missing required query parameters (account_usd, risk_percent, entry_price, stop_price) returns an error
- Stop price equal to entry price causes division-by-zero / undefined result
- Non-numeric string values for prices or percentages may return parse errors
- Extremely small risk percentages or prices may produce nonsensical unit counts
- Service unavailability returns HTTP error without position data

## How this service works

Position size from account equity, risk percent, entry and stop: units, notional, leverage needed and target prices at chosen R multiples.

## Output

Returns a JSON object with: inferred trade direction (long/short), account equity, entry price, stop price, risk percent, dollar amount at risk, position size in units, notional value in USD, leverage needed, and an array of take-profit prices at requested R-multiples with corresponding profit in USD. Also includes a plain-language note and data source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "account_usd",
      "risk_percent",
      "entry_price",
      "stop_price"
     ],
     "properties": {
      "stop_price": {
       "type": "string",
       "description": "stop loss price (below entry = long, above = short)"
      },
      "account_usd": {
       "type": "string",
       "description": "account equity"
      },
      "entry_price": {
       "type": "string",
       "description": "planned entry"
      },
      "risk_percent": {
       "type": "string",
       "description": "percent of the account to risk, e.g. 1"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "position_size_units",
      "position_notional_usd"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Plain-language caveat about how to read and use the result"
      },
      "side": {
       "type": "string",
       "description": "Trade direction inferred from the stop (below entry is long)"
      },
      "source": {
       "type": "string",
       "description": "Where the data or formula comes from"
      },
      "targets": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "price": {
          "type": [
           "number",
           "null"
          ],
          "description": "Target price"
         },
         "profit_usd": {
          "type": [
           "number",
           "null"
          ],
          "description": "Profit in USD if the target is reached"
         },
         "r_multiple": {
          "type": [
           "number",
           "null"
          ],
          "description": "Multiple of the initial risk"
         }
        }
       },
       "description": "Take-profit prices at the requested R multiples"
      },
      "risk_usd": {
       "type": "number",
       "description": "Amount l
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-position-size-calculator-496f1872/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
