{"uid":"cap_8wiimVzGYhDYJaXPuEX_q","slug":"token-buy-to-sell-activity-ratio-target-gap-calculation-e068cfda","name":"Token Buy-to-Sell Activity Ratio — Target Gap Calculation","description":"Token buy-to-sell activity ratio — Target gap calculation: Target gap calculation for Token buy-to-sell activity ratio. 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 target gap calculation report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-target-gap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"number","default":100,"maximum":1000000000000000000,"minimum":-1000000000000000000},"values":{"type":"object","default":{"buy_count":120,"sell_count":80},"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}}},"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_j-zWNnZvz4s22SXJRlzCc","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":"Calculates the gap between a token's buy-to-sell activity ratio and a specified target value, returning a deterministic threshold verdict report.","exampleAgentPrompt":"Given that a token had 150 buys and 90 sells, calculate the gap between its buy-to-sell ratio and my target of 2.5 — I want to know how far off it is from that threshold.","exampleUseCases":[{"title":"Token momentum threshold check","prompt":"I'm tracking a token that had 200 buy transactions and 120 sell transactions today — can you calculate the gap between its buy-to-sell ratio and my target of 2.0 to see how close it is?"},{"title":"Trading bot entry signal gap","prompt":"My trading bot uses a buy-to-sell ratio target of 1.75 as an entry condition. The token just logged 340 buys and 210 sells — what's the gap to that target?"},{"title":"Market activity benchmark comparison","prompt":"Can you compute the buy-to-sell activity ratio gap for a token with 80 buys and 95 sells against a target ratio of 1.5 so I can see how bearish it looks relative to that benchmark?"}],"resultDescription":"Returns a deterministic target gap calculation report showing the computed buy-to-sell ratio from the supplied buy_count and sell_count, the numerical gap relative to the specified target, and a threshold-based verdict indicating whether the ratio meets, exceeds, or falls short of the target. No live market data is included; results are based solely on provided inputs.","failureModes":["sell_count of zero or below triggers exclusiveMinimum validation error","buy_count or sell_count exceeding 10,000,000,000,000,000 causes schema validation failure","target value outside the allowed range causes a validation error","missing required buy_count or sell_count fields returns a 400-level error","malformed JSON body results in a parse error response"],"whenToPreferThis":"Choose this endpoint when you have explicit buy and sell count observations for a token and need a fast, deterministic calculation of how far the resulting ratio deviates from a specific numeric target. Ideal for algorithmic trading pipelines, signal validation, or dashboards that need a reproducible gap metric without live data feeds. Not suitable for fetching real-time on-chain data or generating trade recommendations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:54:06.751Z","isFirstParty":false,"canonicalSlug":"token-buy-to-sell-activity-ratio-target-gap-calculation-e068cfda"}