{"uid":"cap_7KM5rI5Eg0O1QzcFh5HU_","slug":"token-buy-volume-fraction-rolling-mean-report-d62d5687","name":"Token Buy Volume Fraction — Rolling Mean Report","description":"Token buy volume fraction — Rolling mean report: Rolling mean report for Token buy volume fraction. 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-buy-volume-share-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["buy_volume","sell_volume"],"properties":{"buy_volume":{"type":"number","default":60000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"sell_volume":{"type":"number","default":40000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"buy_volume":60000,"sell_volume":40000},{"buy_volume":66000,"sell_volume":44000},{"buy_volume":60000,"sell_volume":40000},{"buy_volume":66000,"sell_volume":44000}],"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_vlbra_8sFfvjxYPwMBPyI","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 the rolling mean of buy volume fraction (buy volume as a share of total volume) over a configurable window across a series of token trade observations.","exampleAgentPrompt":"Calculate the rolling mean of the buy volume fraction for these 4 token trade observations using a window of 2: rows with buy_volume 60000/sell_volume 40000, 66000/44000, 60000/40000, 66000/44000.","exampleUseCases":[{"title":"Detecting sustained buy pressure trend","prompt":"I have a series of 6 token trade observations with buy and sell volumes. Can you compute the rolling mean buy volume fraction with a window of 3 so I can see whether buy pressure has been consistently dominant over recent periods?"},{"title":"Smoothing noisy buy share signals","prompt":"My token's buy vs sell volume data is quite noisy across 10 periods. Run a rolling mean with window size 4 on the buy volume fraction so I can see the underlying trend without the short-term spikes."},{"title":"Comparing buy fraction momentum","prompt":"I want to understand if buy momentum is increasing over time. Take these 8 observations of buy and sell volume and give me the rolling mean buy volume share using a window of 2 so I can chart how the ratio evolves."}],"resultDescription":"Returns a rolling mean report of the buy volume fraction (buy_volume / (buy_volume + sell_volume)) computed across successive windows of the supplied observation rows. Each output value represents the smoothed average buy share for its corresponding window, using only the supplied token trade data with deterministic calculation.","failureModes":["Fewer than 2 rows supplied — minimum row count not met","Window size larger than number of rows — insufficient data for any complete window","buy_volume or sell_volume equal to zero or negative — exclusiveMinimum constraint violated","More than 200 rows supplied — exceeds maxItems limit","Window integer outside 2–200 range — schema validation error","Malformed row objects missing required buy_volume or sell_volume fields — validation failure","Payment not attached or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, smoothed rolling mean of the buy volume fraction from a fixed set of token trade observations and do not need a live market scan or real-time feed. It is ideal for post-hoc analysis of buy/sell volume series, backtesting signals, or smoothing noisy volume share data over a defined window. Prefer it over raw ratio calculations when you want windowed averaging rather than point-in-time values, and over live scanning tools when you already have the observations in hand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:16:37.131Z","isFirstParty":false,"canonicalSlug":"token-buy-volume-fraction-rolling-mean-report-d62d5687"}