{"uid":"cap_YK2NXLfWeTUIj_L74uLhh","slug":"wallet-inventory-two-measure-correlation-and-missing-value-fill-c1361c6e","name":"Wallet Inventory Two-Measure Correlation and Missing-Value Fill","description":"Wallet inventory — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill for supplied wallet inventory records (token_units, reference_price). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-24-184?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","token_units","reference_price"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"token_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"reference_price":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","token_units":10,"reference_price":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","token_units":20,"reference_price":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","token_units":15,"reference_price":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","token_units":30,"reference_price":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["token_units","reference_price"],"type":"string","default":"token_units"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_rHoUwsi7sfS4EuKuzITdo","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 Pearson correlation between token_units and reference_price, and fills missing values in a chosen field using zero, mean, or median imputation, across up to 200 wallet inventory rows.","exampleAgentPrompt":"I have up to 200 rows of wallet inventory data with token_units and reference_price — can you run a two-measure correlation between those fields and also fill any missing token_units values using the median method?","exampleUseCases":[{"title":"Portfolio correlation check","prompt":"I have 150 rows of my crypto wallet holdings with dates, instrument groups, token_units, and reference_price values — can you compute the correlation between token_units and reference_price and fill any missing token_units with the median?"},{"title":"Missing price data cleanup","prompt":"My wallet inventory export has some null reference_price entries across about 80 rows — can you fill those missing values using mean imputation and also show me how token_units and reference_price correlate overall?"},{"title":"Multi-group token inventory analysis","prompt":"I've got wallet records for two instrument groups over the past quarter, each row has a date, token_units, and reference_price — run a correlation between the two measures and fill any missing reference_price fields with zero so I have a clean dataset."}],"resultDescription":"Returns two independent analytical reports: (1) a two-measure Pearson correlation report quantifying the linear relationship between token_units and reference_price across supplied rows, and (2) an explicit missing-value fill report showing imputed values for the chosen field (token_units or reference_price) using the selected method (zero, mean, or median). No external data is fetched; all computation is local to the supplied rows.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — exceeds row limit","Invalid date format (not YYYY-MM-DD) — validation error","Unknown imputation method value — enum validation failure","Both measures entirely null — correlation cannot be computed","row_id missing or empty — required field validation error","Payment of 0.01 USDC not completed — 402 response"],"whenToPreferThis":"Use this endpoint when you have up to 200 wallet inventory rows with token_units and reference_price fields and need both a correlation statistic and missing-value imputation in a single low-cost call. It is ideal for offline/batch portfolio data cleanup and exploratory statistics without needing a live data connection or external price oracle. Prefer alternatives if you need live price lookups, predictions, or support for more than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:55.638Z","isFirstParty":false,"canonicalSlug":"wallet-inventory-two-measure-correlation-and-missing-value-fill-c1361c6e"}