{"uid":"cap_9o-b8jPfMevCt61-Fb_Q_","slug":"trading-journal-observations-numeric-distribution-secondary-measure-4ea233c4","name":"Trading Journal Observations — Numeric Distribution + Secondary-Measure Weighted Mean","description":"Trading journal observations — Numeric distribution + Secondary-measure weighted mean: Numeric distribution + 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-082?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_DuCH9JHrc6VwbVD7blrkk","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 numeric distribution report and a secondary-measure weighted mean for up to 200 trading journal rows across entry_price and exit_price fields.","exampleAgentPrompt":"Analyze the numeric distribution and weighted mean of entry_price for these 5 trades: row-1 on 2024-01-10 in group 'equities' with entry 150.25 and exit 155.00, row-2 on 2024-01-11 in 'equities' with entry 148.00 and exit 152.50, row-3 on 2024-01-12 in 'futures' with entry 3200.00 and exit 3225.00, row-4 on 2024-01-13 in 'futures' with entry 3180.00 and exit 3195.00, row-5 on 2024-01-14 in 'equities' with entry 155.00 and exit 160.00.","exampleUseCases":[{"title":"Entry price distribution for equity trades","prompt":"I have 20 stock trades from last quarter — can you run a numeric distribution and weighted mean analysis on the entry_price field? I'll give you the rows with instrument group 'equities', dates, and both entry and exit prices."},{"title":"Exit price spread across instrument groups","prompt":"Run a numeric distribution report and secondary-measure weighted mean on exit_price for these 50 futures and options trades from my journal — I want to see how exit prices are distributed across my instrument groups."},{"title":"Monthly trade journal statistical summary","prompt":"Here are 100 trading journal entries from October 2024 across groups 'crypto', 'forex', and 'equities' — compute the numeric distribution and weighted mean for entry_price so I can see how my entry points are spread out this month."}],"resultDescription":"Two analytical reports: (1) a numeric distribution breakdown of the selected field (entry_price or exit_price) across the supplied rows, and (2) a secondary-measure weighted mean calculation — both computed locally without any external lookups, covering up to 200 journal rows.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, instrument_group, date, entry_price, exit_price) causes rejection","Invalid date format (not YYYY-MM-DD) triggers a pattern validation error","Price values outside ±1,000,000,000,000 are rejected","Empty rows array returns an error","Invalid field enum value (not entry_price or exit_price) fails validation"],"whenToPreferThis":"Choose this endpoint when you need both a numeric distribution and a secondary-measure weighted mean computed together on trading journal records (entry_price or exit_price) in a single low-cost call. It is ideal for offline/batch statistical analysis of up to 200 trade rows without needing live market data, predictions, or external enrichment. Prefer it over general-purpose analytics APIs when your data is already structured as journal observations with instrument groups and dates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:33:20.170Z","isFirstParty":false,"canonicalSlug":"trading-journal-observations-numeric-distribution-secondary-measure-4ea233c4"}