# LP Divergence Loss Magnitude — Rolling Mean Report

> LP Divergence Loss Magnitude — Rolling Mean Report 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-16).

Computes a rolling mean of full-range LP (liquidity provider) divergence loss magnitude over a sequence of token price observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-divergence-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lp-divergence-loss-magnitude-rolling-mean-report-b2f41690
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x0m03rfLeDh9FibOtw7b7

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 lp-divergence-loss-magnitude-rolling-mean-report-b2f41690 -d '<json body>'
```

Example prompt: Can you calculate the rolling mean LP divergence loss magnitude for these 4 price observations — current prices [2, 2.2, 2, 2.2] against initial prices [1, 1.1, 1, 1.1] — using a window size of 2?

## When to prefer this

Choose this endpoint when you have a discrete time series of token price observations and need a deterministic, rolling-window average of LP divergence loss magnitude. It is ideal for retrospective analysis of liquidity provider exposure, backtesting position scenarios, or summarizing loss trends over supplied data rather than live market feeds. Prefer this over point-in-time divergence calculators when trend smoothing across multiple observations is needed.

## Known failure modes

- Fewer than 2 rows provided — minimum row count not met
- Window size exceeds number of rows — rolling calculation cannot proceed
- current_price or initial_price is zero or negative — excluded by schema minimum
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric price values cause schema validation failure

## How this service works

Full-range LP divergence loss magnitude — Rolling mean report: Rolling mean report for Full-range LP divergence loss magnitude. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded rolling mean report report.

## Output

Returns a bounded rolling mean report of LP divergence loss magnitude values computed from the supplied sequence of (current_price, initial_price) row pairs, calculated deterministically over the specified rolling window. Output reflects the average divergence loss magnitude across each window, with no live market data, safety guarantees, or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "current_price",
     "initial_price"
    ],
    "properties": {
     "current_price": {
      "type": "number",
      "default": 2,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "initial_price": {
      "type": "number",
      "default": 1,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "current_price": 2,
     "initial_price": 1
    },
    {
     "current_price": 2.2,
     "initial_price": 1.1
    },
    {
     "current_price": 2,
     "initial_price": 1
    },
    {
     "current_price": 2.2,
     "initial_price": 1.1
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lp-divergence-loss-magnitude-rolling-mean-report-b2f41690/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)
