Cohort Compare (deprecated → use cohort(depth='compare'))
cohort_compareCompare historical returns of two stock cohorts defined by symbol and date to identify which performed better over specified horizons.
Instructions
[DEPRECATED in v5 — use cohort(depth="compare", compare_with=...)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_a | Yes | ||
| date_a | Yes | ||
| symbol_b | Yes | ||
| date_b | Yes | ||
| timeframe | No | 1h | |
| cohort_size | No | ||
| horizons | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |