{"uid":"cap_x0m03rfLeDh9FibOtw7b7","slug":"lp-divergence-loss-magnitude-rolling-mean-report-b2f41690","name":"LP Divergence Loss Magnitude — Rolling Mean Report","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-lp-divergence-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OHaQk4NY0t4NXKBlZRBK6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a rolling mean of full-range LP (liquidity provider) divergence loss magnitude over a sequence of token price observations.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Monitoring LP position health over time","prompt":"I have a series of token price snapshots from my liquidity pool position — current prices [1.5, 1.8, 2.0, 1.9] vs initial prices [1.0, 1.0, 1.0, 1.0]. Can you give me the rolling mean LP divergence loss magnitude with a window of 3 so I can see how my loss exposure has trended?"},{"title":"Comparing divergence loss across market regimes","prompt":"I want to compare average LP divergence loss during a volatile stretch: current prices [3.0, 3.5, 2.8, 4.0, 3.2] against initial prices [2.0, 2.0, 2.0, 2.0, 2.0]. Run a rolling mean with window size 2 and report the results."},{"title":"Pre-trade impermanent loss risk assessment","prompt":"Before I add liquidity to this pool, can you estimate the rolling mean LP divergence loss magnitude using these simulated price scenarios — current [1.1, 1.3, 1.6, 1.2] vs initial [1.0, 1.0, 1.0, 1.0] — with a rolling window of 2?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:13.267Z","isFirstParty":false,"canonicalSlug":"lp-divergence-loss-magnitude-rolling-mean-report-b2f41690"}