{"uid":"cap_wVHBsRTtFlDFdTkdwFNfg","slug":"liquidity-observations-adjacent-row-changes-secondary-measure-62367435","name":"Liquidity Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Liquidity observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied liquidity observations records (base_quantity, quote_quantity). 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-10-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","base_quantity","quote_quantity"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"base_quantity":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"quote_quantity":{"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","base_quantity":10,"quote_quantity":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","base_quantity":20,"quote_quantity":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","base_quantity":15,"quote_quantity":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","base_quantity":30,"quote_quantity":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["base_quantity","quote_quantity"],"type":"string","default":"base_quantity"}}},"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_MBBdj1ry3K8nVFFNjACPq","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 adjacent row-to-row changes and a secondary-measure weighted mean across up to 200 liquidity observation records (base_quantity, quote_quantity) using local analytical engines.","exampleAgentPrompt":"I have 4 rows of liquidity data — row-1 on 2026-10-01 with base_quantity 10 and quote_quantity 1 for group-a, row-2 on 2026-10-02 with 20/2 for group-b, row-3 on 2026-10-03 with 15/3 for group-a, row-4 on 2026-10-04 with 30/4 for group-b — can you run the adjacent row changes and weighted mean analysis on the base_quantity field and give me both reports?","exampleUseCases":[{"title":"Daily liquidity delta tracking","prompt":"Here are 10 days of liquidity records for two instrument groups with base_quantity and quote_quantity — can you calculate the day-over-day changes and give me the weighted mean on base_quantity for all rows?"},{"title":"Quote quantity weighted mean for rebalancing","prompt":"I have 50 liquidity observation rows across several instrument groups from the past quarter; please run the adjacent row change report and the secondary-measure weighted mean on quote_quantity so I can see how the weighting shifts."},{"title":"Instrument group liquidity comparison","prompt":"I need to compare sequential movements in base_quantity across my 30 liquidity observation records for group-a and group-b — run both the adjacent row changes and the weighted mean analysis on base_quantity and return both reports."}],"resultDescription":"Returns two independent analytical reports computed locally: (1) an adjacent row changes report showing sequential differences between consecutive rows for the selected field (base_quantity or quote_quantity), and (2) a secondary-measure weighted mean report providing a weighted average using the secondary quantity measure across the supplied records, covering up to 200 input rows.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, base_quantity, quote_quantity, instrument_group) — validation error","Date not in YYYY-MM-DD format — pattern validation failure","Numeric values outside ±1,000,000,000,000 range — schema rejection","Empty rows array — minItems constraint violation","Invalid field enum value (not base_quantity or quote_quantity) — schema error"],"whenToPreferThis":"Choose this endpoint when you have pre-collected liquidity observation records (base_quantity and quote_quantity) and need two specific statistical computations — sequential row-to-row deltas and a weighted mean — performed offline without any live data lookup, prediction, or external action. Ideal for batch post-processing of up to 200 liquidity rows where both analytics are needed in a single $0.01 USDC call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:41:30.057Z","isFirstParty":false,"canonicalSlug":"liquidity-observations-adjacent-row-changes-secondary-measure-62367435"}