{"uid":"cap_YxoYcj6ST1frtIiDz6DZ9","slug":"trading-journal-observations-iqr-outlier-flags-secondary-measure-f2ce9342","name":"Trading Journal Observations — IQR Outlier Flags + Secondary-Measure Weighted Mean","description":"Trading journal observations — IQR outlier flags + Secondary-measure weighted mean: IQR outlier flags + 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-177?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"}}},"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_eR80UZjhMOM2XKx7F3V1r","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":"Analyzes up to 200 trading journal rows (entry_price, exit_price) and returns two reports: IQR-based outlier flags and a secondary-measure weighted mean, computed locally with no external lookups.","exampleAgentPrompt":"Run IQR outlier detection and a secondary-measure weighted mean on my trading journal — here are the rows: row-1 on 2025-01-10 for group-equity with entry_price 105.50 and exit_price 110.00, row-2 on 2025-01-11 for group-equity with entry_price 980.00 and exit_price 115.00, row-3 on 2025-01-12 for group-fx with entry_price 102.00 and exit_price 108.00; analyze the entry_price field.","exampleUseCases":[{"title":"Detect outlier trades in equity journal","prompt":"I have 50 trades from last quarter in my equity trading journal — can you flag any entry_price outliers using IQR and also give me the weighted mean of the entry prices? Here are the rows: row-1 2025-03-01 group-equity entry 200.0 exit 210.0, row-2 2025-03-02 group-equity entry 198.5 exit 205.0, row-3 2025-03-03 group-equity entry 5000.0 exit 210.5 — analyze entry_price."},{"title":"Spot anomalous exit prices across instrument groups","prompt":"Check these 30 trade records for exit_price outliers using IQR and compute a weighted mean for exit prices — I want to know if any instruments had weirdly large or small exits. Rows: row-1 2025-06-01 group-fx entry 1.20 exit 1.25, row-2 2025-06-02 group-fx entry 1.21 exit 99.00, row-3 2025-06-03 group-comm entry 1500 exit 1520 — field: exit_price."},{"title":"Validate price data quality before backtesting","prompt":"Before I run my backtest, I need to check these 80 trading journal entries for statistical outliers in entry_price — use IQR flagging and also give me the weighted mean so I can spot data errors. Rows include row-1 2024-11-01 group-crypto entry 42000 exit 43000, row-2 2024-11-02 group-crypto entry 41800 exit 42500, row-3 2024-11-03 group-crypto entry 9999999 exit 43200 — field: entry_price."}],"resultDescription":"Returns two analytical reports for the submitted trading journal rows: (1) IQR outlier flags indicating which rows contain statistically anomalous values in the specified field (entry_price or exit_price), and (2) a secondary-measure weighted mean computed across the submitted records. Both reports are generated from the supplied data only, with no external data sources or predictions.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — exceeds limit, rejected","Missing required fields (row_id, instrument_group, date, entry_price, exit_price) — schema validation error","Invalid date format (not YYYY-MM-DD) — pattern validation error","Price values outside allowed range (±1,000,000,000,000) — schema error","Invalid field enum value (not entry_price or exit_price) — rejected","Payment not included or insufficient (requires 0.01 USDC via x402) — payment error"],"whenToPreferThis":"Choose this endpoint when you need fast, local statistical analysis of trading journal records — specifically IQR-based outlier detection combined with weighted mean computation — without any external data lookups or live market data. It is ideal for data quality checks, pre-backtest validation, or summarizing price distributions across instrument groups. Best when you have up to 200 rows and need both reports in a single $0.01 call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:15:46.268Z","isFirstParty":false,"canonicalSlug":"trading-journal-observations-iqr-outlier-flags-secondary-measure-f2ce9342"}