# Treasury Supplied Balances — Daily Sum Series + Trailing Mean Series

> Treasury Supplied Balances — Daily Sum Series + Trailing Mean Series is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Computes daily sum aggregations and trailing moving-average series for treasury supplied balance records (opening and closing balances) over up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-16-136?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-supplied-balances-daily-sum-series-trailing-mean-series-84a469f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yXoDLitmx4G7LPyi_1yVy

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 treasury-supplied-balances-daily-sum-series-trailing-mean-series-84a469f3 -d '<json body>'
```

Example prompt: I have 50 rows of daily treasury balance data with opening and closing balances by instrument group — can you compute the daily sum series and a trailing mean series for the closing_balance field using a window of 7?

## When to prefer this

Choose this endpoint when you have already-collected treasury supplied balance data (up to 200 rows) and need both a daily sum aggregation and a trailing rolling mean in a single low-cost call. It is ideal for offline/batch analytical workflows where no live data lookup or external enrichment is needed — just fast local statistical computation on your own balance records.

## Known failure modes

- Fewer than 1 row supplied — validation error
- More than 200 rows supplied — request rejected
- Window size larger than number of rows — trailing mean may be empty or partial
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Balance values outside ±1,000,000,000,000 — rejected by schema
- Missing required fields (row_id, date, opening_balance, closing_balance, instrument_group) — validation error
- Payment not included or insufficient — 402 payment required

## How this service works

Treasury supplied balances — Daily sum series + Trailing mean series: Daily sum series + Trailing mean series for supplied treasury supplied balances records (opening_balance, closing_balance). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two independent analytical reports: (1) a daily sum series aggregating the selected balance field (opening_balance or closing_balance) across all supplied rows by date, and (2) a trailing mean series computed over the specified rolling window — both derived entirely from the user-supplied treasury balance data, with no external data lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "instrument_group",
     "date",
     "opening_balance",
     "closing_balance"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "closing_balance": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "opening_balance": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "instrument_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "closing_balance": 1,
     "opening_balance": 10,
     "instrument_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "closing_balance": 2,
     "opening_balance": 20,
     "instrument_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "closing_balance": 3,
     "opening_balance": 15,
     "instrument_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "closing_balance": 4,
     "opening_balance": 30,
     "instrument_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "opening_balance",
    "closing_balance"
   ],
   "type": "string",
   "default": "opening_balance"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-supplied-balances-daily-sum-series-trailing-mean-series-84a469f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
