{"uid":"cap_M_zaN8bN577taBZNPIG_Y","slug":"token-buy-volume-fraction-weighted-result-mean-9bb94f52","name":"Token Buy Volume Fraction — Weighted Result Mean","description":"Token buy volume fraction — Weighted result mean: Weighted result mean 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 weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-weighted-mean?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},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":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_1XJ9MtPKfWLXAv1z01pXz","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 weighted mean of the buy volume fraction (buy volume / total volume) across multiple token trading observations.","exampleAgentPrompt":"Calculate the weighted mean buy volume fraction for these 4 token observations: buy/sell volumes of 60000/40000, 66000/44000, 60000/40000, 66000/44000 — weighted 1, 2, 1, 2 respectively.","exampleUseCases":[{"title":"Recency-weighted buy pressure summary","prompt":"I have 6 trading periods for a token with these buy and sell volumes — can you compute the weighted average buy volume fraction, putting more weight on the most recent periods? Here are the rows: [80000/20000, 70000/30000, 65000/35000, 60000/40000, 55000/45000, 50000/50000] with weights [1, 1, 2, 2, 4, 4]."},{"title":"Compare buy dominance across market sessions","prompt":"Give me the weighted mean buy volume share across these morning and afternoon token trading sessions — buy/sell pairs are 120000/80000, 95000/105000, 110000/90000 — weighted equally at 1, 1, 1."},{"title":"Automated token screening pipeline","prompt":"As part of my screening workflow, calculate the weighted result mean of buy volume fraction for this token using these 5 observations with weights [3, 2, 2, 1, 1]: buy volumes 500000, 420000, 380000, 300000, 250000 and matching sell volumes 200000, 280000, 320000, 400000, 450000."}],"resultDescription":"A single weighted mean value representing the average buy volume fraction (buy_volume / (buy_volume + sell_volume)) across all provided observations, weighted by the supplied weights array. The result is a deterministic calculation — not a live scan, safety proof, or trade recommendation.","failureModes":["Missing required buy_volume or sell_volume in any row returns a validation error","Providing fewer than 2 rows triggers a minimum items constraint violation","Providing more than 200 rows exceeds the maxItems limit","Mismatched lengths between rows and weights arrays may cause an error or ignored weights","Zero or negative volume values are rejected due to exclusiveMinimum:0 constraint","Payment of 0.01 USDC not provided or x402 payment header missing results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need a single summary statistic — the weighted mean buy volume fraction — across multiple token trading observations, and you want to control the relative importance of each observation via custom weights. Prefer this over unweighted averages when some observations (e.g. more recent or higher-volume periods) should carry more influence. Use this for deterministic, reproducible analytics pipelines rather than live market scanning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:54:04.327Z","isFirstParty":false,"canonicalSlug":"token-buy-volume-fraction-weighted-result-mean-9bb94f52"}