{"uid":"cap_xXGQReZgXX2Hn0Yrz2QI9","slug":"full-range-lp-divergence-loss-magnitude-distribution-histogram-0e8a322e","name":"Full-range LP Divergence Loss Magnitude — Distribution Histogram","description":"Full-range LP divergence loss magnitude — Distribution histogram: Distribution histogram 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 distribution histogram report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-lp-divergence-histogram?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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}}},"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_zoRTqq6aZfLWkYyklcx6V","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 binned distribution histogram of impermanent loss (LP divergence) magnitudes from a set of token price observations","exampleAgentPrompt":"Give me a distribution histogram of impermanent loss magnitudes across 8 bins for these LP positions — initial prices were [1, 1.1, 0.9, 1.2] and current prices are [2, 2.2, 1.8, 2.4].","exampleUseCases":[{"title":"LP portfolio IL spread analysis","prompt":"I have 10 liquidity pool positions with various entry and current prices — can you bucket the impermanent loss magnitudes into 10 bins so I can see how the losses are distributed across my portfolio?"},{"title":"Post-rebalance divergence audit","prompt":"After last week's rebalance, my LP positions have these initial and current prices. Generate a 5-bin histogram of the divergence loss magnitudes so I can see if most losses are clustered in a specific range."},{"title":"Backtesting IL distribution for strategy comparison","prompt":"I'm comparing two LP strategies and have historical initial and current prices for each — can you compute a 6-bin distribution histogram of the full-range LP divergence loss magnitudes for this batch of observations?"}],"resultDescription":"A binned frequency distribution (histogram) report showing how LP divergence loss magnitudes are distributed across the specified number of bins, based solely on the supplied initial and current price pairs. The result is deterministic given the inputs — no live market data or external scanning is involved.","failureModes":["Fewer than 2 rows provided — minimum 2 price observation objects required","More than 200 rows provided — exceeds maxItems limit","current_price or initial_price is zero or negative — must be exclusiveMinimum 0","bins value outside range 1–30 — returns validation error","Malformed row objects missing required current_price or initial_price fields","Payment not processed — x402 payment required at $0.01 USDC per call"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, bucketed view of how impermanent loss magnitudes spread across a set of liquidity provider observations — particularly useful for portfolio audits, strategy comparisons, or backtesting IL distributions. Unlike a single-point IL calculator, this endpoint processes up to 200 price pairs and returns a full histogram, making it ideal for batch analysis of LP positions rather than individual lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:11.769Z","isFirstParty":false,"canonicalSlug":"full-range-lp-divergence-loss-magnitude-distribution-histogram-0e8a322e"}