{"uid":"cap_V6fDknc_kGNvK_phisyc8","slug":"token-drawdown-from-supplied-peak-weighted-result-mean-9d5ce6e4","name":"Token Drawdown from Supplied Peak — Weighted Result Mean","description":"Token drawdown from supplied peak — Weighted result mean: Weighted result mean for Token drawdown from supplied peak. 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-drawdown-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["peak_price","current_price"],"properties":{"peak_price":{"type":"number","default":2,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"current_price":{"type":"number","default":1.5,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"peak_price":2,"current_price":1.5},{"peak_price":2.2,"current_price":1.6500000000000001},{"peak_price":2,"current_price":1.5},{"peak_price":2.2,"current_price":1.6500000000000001}],"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_nwMukA0eZzXjVUSqX33gK","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 token drawdown percentages across multiple peak/current price observation pairs.","exampleAgentPrompt":"Calculate the weighted mean drawdown for a token given these peak/current price pairs: [{peak: 2.00, current: 1.50}, {peak: 2.20, current: 1.65}, {peak: 3.00, current: 2.10}] with weights [1, 2, 3].","exampleUseCases":[{"title":"Portfolio token drawdown summary","prompt":"I have three token snapshots — peak prices 5.00, 4.50, and 6.00 with current prices 3.25, 3.60, and 4.20 — weight the third observation twice as much as the others and give me the weighted mean drawdown."},{"title":"Equal-weight average decline check","prompt":"Can you calculate the weighted mean drawdown from peak for these two token observations: peak 10.00 current 7.00, and peak 8.00 current 5.50, both with equal weight of 1?"},{"title":"Stress-weighted drawdown for risk review","prompt":"For a risk review I need the weighted mean percentage that this token is down from its peak across four price snapshots: peaks [100, 95, 110, 105] and current prices [60, 70, 75, 80], with weights [1, 3, 2, 4]."}],"resultDescription":"A single bounded weighted mean drawdown report calculated from the supplied peak/current price row observations and their corresponding weights. The result represents the weighted average percentage decline from peak across all supplied observations. No live market data is used — the calculation is deterministic and based solely on the caller-supplied inputs.","failureModes":["Fewer than 2 rows provided — minItems:2 constraint violation","Mismatch between number of rows and number of weights","peak_price or current_price set to zero or negative — exclusiveMinimum:0 constraint","More than 200 rows supplied — maxItems:200 constraint violation","Weight values are negative — minimum:0 constraint violation","Payment not included or insufficient — x402 payment required at $0.01 USDC"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, weighted aggregate drawdown metric across multiple token price observations and want a single weighted mean result rather than individual per-row drawdowns. Prefer this over a batch/single calculation endpoint when observations have different importance or recency and must be blended into one representative figure. Not suitable for live price scanning, safety analysis, or trade recommendations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:56.949Z","isFirstParty":false,"canonicalSlug":"token-drawdown-from-supplied-peak-weighted-result-mean-9d5ce6e4"}