{"uid":"cap_oekMyj723wQA8kp4PPWMH","slug":"treasury-supplied-balances-daily-sum-series-secondary-measure-093f5e4c","name":"Treasury Supplied Balances — Daily Sum Series + Secondary-Measure Weighted Mean","description":"Treasury supplied balances — Daily sum series + Secondary-measure weighted mean: Daily sum series + 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-142?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_55hpQNL1NZgVihy6jU68u","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 daily sum series and secondary-measure weighted mean for treasury supplied balance records (opening and closing balances) across up to 200 rows.","exampleAgentPrompt":"Can you run a daily sum series and secondary-measure weighted mean on my treasury supplied balance data — I have opening and closing balances for multiple instrument groups across about 50 rows, and I want to analyze the opening_balance field?","exampleUseCases":[{"title":"Daily treasury balance aggregation","prompt":"I have 120 rows of treasury balance records with dates, instrument groups, opening and closing balances — can you compute a daily sum series and weighted mean on the closing_balance field for me?"},{"title":"Instrument group balance trend analysis","prompt":"Can you summarize my treasury supplied balances by running a daily sum series and secondary-measure weighted mean? I've got data for instrument groups like 'gov-bonds' and 't-bills' over Q3, using opening_balance as the main field."},{"title":"Month-end treasury reconciliation summary","prompt":"I need to verify my month-end treasury positions — please run a daily sum and weighted mean analysis on these 80 rows of opening and closing balance records grouped by instrument category, focusing on the closing_balance field."}],"resultDescription":"Returns two independent analytical reports: (1) a daily sum series aggregating the selected balance field (opening_balance or closing_balance) across all rows by date, and (2) a secondary-measure weighted mean across the same dataset. Both reports are computed locally on the supplied data with no external lookup. Up to 200 rows are supported per call.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) — validation error","Date field not in YYYY-MM-DD format — pattern validation failure","Balance values outside ±1,000,000,000,000 range — schema validation error","Empty rows array — minimum items constraint violated","Invalid field enum value (not 'opening_balance' or 'closing_balance') — rejected"],"whenToPreferThis":"Choose this endpoint when you have treasury or financial balance data (opening/closing) keyed by date and instrument group and need both a daily sum time series and a weighted mean computed in a single call for up to 200 rows. It is best suited for batch offline analytics on supplied data rather than live market lookups or real-time queries. Prefer this over generic aggregation tools when your data conforms to the treasury balance schema with named instrument groups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:48:08.675Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-daily-sum-series-secondary-measure-093f5e4c"}