{"uid":"cap__B5jCjR_CUwJ03xeotWzn","slug":"trading-journal-observations-numeric-interval-filter-secondary-74001dbf","name":"Trading Journal Observations — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Trading journal observations — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean for supplied trading journal observations records (entry_price, exit_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-09-132?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","entry_price","exit_price"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"exit_price":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"entry_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","exit_price":1,"entry_price":10,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","exit_price":2,"entry_price":20,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","exit_price":3,"entry_price":15,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","exit_price":4,"entry_price":30,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["entry_price","exit_price"],"type":"string","default":"entry_price"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_fBc5P29jmr49GO70BJduL","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":"Filters trading journal rows by a numeric range on entry_price or exit_price and computes a weighted mean of the secondary measure, returning 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"Take my trading journal rows and filter them to only include trades where entry_price is between 10 and 500, then calculate the weighted mean of exit_price across those filtered records — I have about 80 rows across groups like 'equities' and 'forex'.","exampleUseCases":[{"title":"Equity trade price range analysis","prompt":"I have 120 trading journal entries — filter them to only the rows where exit_price falls between 50 and 300, then give me the weighted mean of entry_price for those filtered trades. The instrument groups are 'equities' and 'ETFs'."},{"title":"Forex position weighted average review","prompt":"Run a numeric interval filter on my forex journal records keeping only trades with entry_price between 1.05 and 1.35, and compute the weighted mean of exit_price for that filtered set. I'll supply about 60 rows with dates from 2025-01-01 onwards."},{"title":"Options trade performance summary","prompt":"Here are 150 rows from my options trading journal — filter on entry_price with a minimum of 200 and maximum of 5000, then calculate the secondary-measure weighted mean for exit_price across the matched records, grouped by instrument_group."}],"resultDescription":"Returns 2 analytical reports: one covering the numeric interval-filtered subset of the supplied trading journal rows (based on the chosen field and min/max bounds), and one providing the weighted mean of the secondary measure across those filtered records. No external data is fetched; all computation is performed on the submitted rows.","failureModes":["Empty rows array or fewer than 1 row submitted returns an error","Rows missing required fields (row_id, instrument_group, date, entry_price, exit_price) are rejected","minimum greater than maximum causes no rows to pass the filter, yielding empty result","More than 200 rows submitted exceeds the limit and is rejected","Invalid date format (not YYYY-MM-DD) causes validation failure","Field value not in enum ['entry_price','exit_price'] causes a schema error"],"whenToPreferThis":"Choose this endpoint when you have already-collected trading journal data (up to 200 rows) and need both a numeric range filter on price fields and a weighted mean computation in a single low-cost call ($0.01 USDC for 2 reports). Prefer it over generic spreadsheet tools when you need a reproducible, API-driven analytical step inside an automated agent workflow. Not suitable for live market data lookup, predictive modeling, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:54:23.945Z","isFirstParty":false,"canonicalSlug":"trading-journal-observations-numeric-interval-filter-secondary-74001dbf"}