# Agent Quant DCA Schedule Calculator

> Agent Quant DCA Schedule Calculator is a paid API for AI agents from agent-quant.annushka1190.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-13).

Computes a dollar-cost averaging (DCA) schedule for a given asset, returning a structured buy plan with intervals and amounts — no market data or API keys required.

## Facts

- Endpoint: POST https://agent-quant.annushka1190.workers.dev/v1/dca
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-quant-dca-schedule-calculator-23187bc8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EySf1p8Ssq5thT4PMYuan

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 agent-quant-dca-schedule-calculator-23187bc8 -d '<json body>'
```

Example prompt: Set me up a DCA schedule to invest $1,200 into ETH spread evenly over 12 weekly intervals — I want to know exactly how much to buy each week.

## When to prefer this

Choose this endpoint when you need pure mathematical DCA schedule computation without any live market data dependency. It is ideal for AI trading agents, bots, or planning tools that already know the asset and amount and just need a clean, reproducible schedule calculation. Prefer it over full brokerage or trading APIs when you want a lightweight, stateless, pay-per-call math primitive with no API key friction.

## Known failure modes

- Missing required fields in the request body returns a validation error
- Invalid or non-numeric investment amounts cause computation failure
- Zero or negative interval count results in an error response
- Malformed JSON body leads to a 400-level error
- Insufficient USDC payment (x402) causes a 402 Payment Required response before computation runs

## How this service works

Pure quant math for AI trading agents: percent change, position sizing, rough liquidation price, DCA schedule, APR/APY. No market data feeds, no API keys. Pay-per-request USDC via x402 on Base and Solana.

## Output

Returns a JSON object with ok: true and a computed DCA schedule, including per-interval buy amounts and the overall investment breakdown across the specified number of intervals and frequency.

## 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-quant-dca-schedule-calculator-23187bc8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-quant.annushka1190.workers.dev](https://www.zero.xyz/host/agent-quant.annushka1190.workers.dev/llms.txt)
