{"uid":"cap_5pvWOndAv2AL9FKQAHGa-","slug":"treasury-supplied-balances-adjacent-row-changes-secondary-measure-3a6bb8a6","name":"Treasury Supplied Balances — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Treasury supplied balances — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-16-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"}}},"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_YKNvs1oaH3q6L_NthyNoY","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 changes and secondary-measure weighted mean for treasury supplied balance records (opening and closing balances) across up to 200 rows.","exampleAgentPrompt":"Can you calculate adjacent row changes and the secondary-measure weighted mean for our treasury closing balances across these 200 records? The rows include date, row ID, instrument group, and opening/closing balance values — I want to analyze movements between consecutive entries.","exampleUseCases":[{"title":"Daily treasury balance movement audit","prompt":"I have daily treasury balance records for two instrument groups across Q4 — can you compute the adjacent row changes for the closing_balance field and give me a weighted mean so I can see how balances shifted day to day?"},{"title":"Instrument group opening balance trend analysis","prompt":"Here are 150 rows of treasury data with dates, row IDs, instrument groups, and opening balances — run the adjacent row changes and secondary-measure weighted mean on the opening_balance field so I can spot anomalies."},{"title":"Month-end reconciliation analytics","prompt":"I need to reconcile our month-end treasury supplied balances — can you process these 80 records and give me adjacent row change calculations plus a weighted mean for the closing_balance to support the reconciliation report?"}],"resultDescription":"Returns two analytical reports: (1) adjacent row changes showing the difference between consecutive opening_balance or closing_balance values across the supplied rows, and (2) a secondary-measure weighted mean for the selected balance field, all computed locally on the submitted data without external lookup.","failureModes":["Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) returns validation error","Exceeding 200 rows causes rejection — maxItems constraint enforced","Date values not matching YYYY-MM-DD pattern will fail schema validation","Null values in the selected balance field may affect weighted mean accuracy","Invalid field enum value (not 'opening_balance' or 'closing_balance') causes rejection","Empty rows array returns error — minItems is 1","Balance values outside ±1,000,000,000,000 are rejected"],"whenToPreferThis":"Choose this endpoint when you have treasury-domain tabular balance data (opening/closing balances by instrument group and date) and need two specific statistical computations — adjacent row-to-row changes and a secondary-measure weighted mean — without requiring live data lookup or external enrichment. Best suited for offline batch analytical workflows on up to 200 pre-collected treasury records at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:47:36.023Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-adjacent-row-changes-secondary-measure-3a6bb8a6"}