{"uid":"cap_PIkr50tt8PPXAiHg3QLvZ","slug":"token-net-buy-count-balance-weighted-result-mean-7870ebfd","name":"Token Net Buy-Count Balance — Weighted Result Mean","description":"Token net buy-count balance — Weighted result mean: Weighted result mean for Token net buy-count balance. 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-net-buy-share-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["buy_count","sell_count"],"properties":{"buy_count":{"type":"number","default":120,"maximum":10000000000000000,"minimum":0},"sell_count":{"type":"number","default":80,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"buy_count":120,"sell_count":80},{"buy_count":132,"sell_count":88},{"buy_count":120,"sell_count":80},{"buy_count":132,"sell_count":88}],"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_QH7Gfh_tjgh8zcSy-ux2Y","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 weighted mean of the net buy-count balance (buy_count vs sell_count ratio) across multiple token observations using caller-supplied weights.","exampleAgentPrompt":"I have four token observation windows with buy counts [120, 132, 120, 132] and sell counts [80, 88, 80, 88] — can you compute the weighted mean of the net buy-count balance using weights [1, 2, 1, 2] to give more importance to the recent windows?","exampleUseCases":[{"title":"Recency-weighted buy pressure summary","prompt":"I've got 5 snapshots of token buy and sell counts from this week — the later ones should count more. Can you compute a weighted mean of the net buy balance using weights [1, 1, 2, 3, 4] so recent data dominates the result?"},{"title":"Equal-weight baseline buy-sell ratio check","prompt":"Here are 3 token observation rows: buy counts [200, 180, 210] and sell counts [150, 170, 140]. Can you give me the weighted mean net buy balance with equal weights so I can see the average demand signal?"},{"title":"Multi-session token demand aggregation","prompt":"I have buy and sell count data from 6 different trading sessions for a token — weights are [2, 2, 1, 1, 3, 3] to reflect session importance. Can you calculate the weighted mean net buy-count balance across all of them?"}],"resultDescription":"Returns a single weighted mean value representing the net buy-count balance across all supplied token observation rows, computed deterministically from the input data and weights. No live market scan or trade recommendation is included.","failureModes":["Fewer than 2 rows or weights provided — minimum cardinality not met","sell_count of 0 in any row — exclusiveMinimum constraint violated","Mismatched length between rows array and weights array","buy_count or sell_count exceeds maximum bound of 1e16","weights array contains negative values","Payment not included or insufficient — x402 payment required"],"whenToPreferThis":"Use this endpoint when you need a single deterministic weighted aggregate of token net buy pressure across multiple observation windows and want control over per-row importance via explicit weights. Prefer this over simple averages when observations have unequal significance (e.g. by volume, recency, or session length). Not suitable for live market scanning or safety/risk scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:33:14.864Z","isFirstParty":false,"canonicalSlug":"token-net-buy-count-balance-weighted-result-mean-7870ebfd"}