{"uid":"cap_Y4eULzSFICrtousLEktTq","slug":"trading-journal-observations-two-measure-correlation-secondary-b373e520","name":"Trading Journal Observations — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Trading journal observations — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + 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-181?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_aIXFq4Q6OydDXI71qewrK","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 entry_price and exit_price, plus a weighted mean of the secondary measure, for up to 200 trading journal rows in two bundled analytical reports.","exampleAgentPrompt":"Analyze my trading journal data — I have 4 trades with entry and exit prices across groups 'equities' and 'forex'; run the two-measure correlation between entry_price and exit_price plus the weighted mean on entry_price and give me both reports.","exampleUseCases":[{"title":"Equity vs forex trade price analysis","prompt":"I have 50 trading journal entries across 'equities' and 'forex' instrument groups with entry and exit prices — can you compute the correlation between entry_price and exit_price and also the weighted mean of entry_price across all those rows?"},{"title":"Post-session trade statistics for day trader","prompt":"Here are today's 30 trades with entry and exit prices — please calculate how strongly my entry prices correlate with my exit prices and give me the weighted mean of exit_price so I can review my session performance."},{"title":"Multi-instrument batch correlation report","prompt":"I've got 120 rows of trading journal data spanning 5 instrument groups from 2024-01-01 to 2024-06-30 — run the two-measure correlation and weighted mean on entry_price for me so I can spot patterns in my trade execution."}],"resultDescription":"Returns two bundled analytical reports: (1) a Pearson correlation coefficient between entry_price and exit_price across the supplied rows, and (2) a weighted mean of the selected field (entry_price or exit_price) acting as the secondary measure — all computed locally with no external lookups.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — rejected with maxItems error","Missing required fields (row_id, instrument_group, date, entry_price, exit_price) — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Null values in both price fields may reduce statistical validity","Numeric values outside ±1,000,000,000,000 range rejected"],"whenToPreferThis":"Choose this endpoint when you need two specific statistical outputs — Pearson correlation between entry and exit prices plus a weighted mean of a price measure — computed in a single cheap call ($0.01 USDC) over up to 200 trading journal rows, without needing live market data, prediction, or external enrichment. Prefer it over general-purpose statistics APIs when your data is already structured as trading journal records with entry/exit prices and instrument groups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:33:26.375Z","isFirstParty":false,"canonicalSlug":"trading-journal-observations-two-measure-correlation-secondary-b373e520"}