{"uid":"cap_DVb9Vjdb_0844b7-9MO2P","slug":"token-quote-vs-received-amount-rolling-mean-report-c2230bf7","name":"Token Quote vs Received Amount — Rolling Mean Report","description":"Token quote versus received amount — Rolling mean report: Rolling mean report for Token quote versus received amount. 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-quote-shortfall-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["quoted_tokens","received_tokens"],"properties":{"quoted_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"received_tokens":{"type":"number","default":980,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"default":[{"quoted_tokens":1000,"received_tokens":980},{"quoted_tokens":1100,"received_tokens":1078},{"quoted_tokens":1000,"received_tokens":980},{"quoted_tokens":1100,"received_tokens":1078}],"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_3Rcvt4AnxjQqdln2faAca","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 token quote shortfall (quoted minus received token amounts) over a sliding window across a series of observations.","exampleAgentPrompt":"Can you run a rolling mean report on these 4 token trade observations — quoted 1000 received 980, quoted 1100 received 1078, quoted 1000 received 980, quoted 1100 received 1078 — using a window of 2 to see the average shortfall trend?","exampleUseCases":[{"title":"DEX slippage trend monitoring","prompt":"I have a series of token swaps where I was quoted certain amounts but received less — can you compute a rolling mean with a window of 3 across these 6 observations to see if the shortfall is getting worse over time?"},{"title":"Broker fill quality audit","prompt":"We got 10 token orders filled this week and every one came in slightly under the quoted amount — run a rolling mean report with a window of 4 on these rows so I can see whether the average underfill is consistent or drifting."},{"title":"Algorithmic trade execution review","prompt":"My trading bot recorded 8 rounds of quoted vs received tokens — can you calculate the rolling mean shortfall with a window of 2 so I can tell whether the execution quality is stable or degrading?"}],"resultDescription":"Returns a rolling mean report showing the average difference between quoted_tokens and received_tokens across a sliding window of the specified size. Each windowed segment yields a mean shortfall value, enabling trend analysis of token delivery accuracy across the supplied observations.","failureModes":["Fewer than 2 rows supplied — minimum row count not met","Window size exceeds number of rows — invalid window configuration","quoted_tokens or received_tokens missing or zero — required fields absent","Values exceed maximum threshold (1e16) — out-of-range inputs rejected","Non-numeric values in numeric fields — type validation failure"],"whenToPreferThis":"Choose this endpoint when you have a time-series of token trade observations and need to smooth out noise using a rolling mean to identify systematic shortfall trends, rather than inspecting raw per-trade differences. It is ideal for auditing broker or DEX fill quality over a batch of trades rather than evaluating a single transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:46.026Z","isFirstParty":false,"canonicalSlug":"token-quote-vs-received-amount-rolling-mean-report-c2230bf7"}