# Trading Journal IQR Outlier Flags + Two-Measure Correlation

> Trading Journal IQR Outlier Flags + Two-Measure Correlation is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Analyzes trading journal entry/exit price records to flag IQR-based outliers and compute two-measure correlation, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-09-176?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trading-journal-iqr-outlier-flags-two-measure-correlation-8e346126
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qs5L60JdrjE4UxiJ2Onwc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trading-journal-iqr-outlier-flags-two-measure-correlation-8e346126 -d '<json body>'
```

Example prompt: Can you run IQR outlier detection and correlation analysis on my trading journal? Here are my records — each row has a row_id, instrument_group, date, entry_price, and exit_price — I want to check the entry_price field for outliers and see how entry and exit prices correlate across up to 50 trades.

## When to prefer this

Choose this endpoint when you need local, deterministic statistical analysis of trading journal records without any external data fetching, live market lookups, or ML prediction. It is ideal for post-trade analysis workflows where you want IQR-based outlier detection and a correlation check between entry and exit prices in a single low-cost API call covering up to 200 rows. Prefer it over general-purpose analytics tools when you specifically need these two paired reports on structured trade records with instrument_group segmentation.

## Known failure modes

- Fewer than 1 row supplied — request rejected
- More than 200 rows supplied — exceeds max row limit
- Missing required fields (row_id, instrument_group, date, entry_price, exit_price) — validation error
- Invalid date format not matching YYYY-MM-DD pattern — schema error
- Price values outside allowed numeric range — validation failure
- Insufficient data variance for meaningful correlation — may return degenerate results

## How this service works

Trading journal observations — IQR outlier flags + Two-measure correlation: IQR outlier flags + Two-measure correlation 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.

## Output

Returns two reports: (1) IQR outlier flags identifying which rows have entry_price or exit_price values outside interquartile range thresholds, and (2) a two-measure correlation analysis between entry_price and exit_price across the supplied rows. All computation is performed locally using analytical engines with no external data lookups.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trading-journal-iqr-outlier-flags-two-measure-correlation-8e346126/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
