Market observation (layer 1)
observe_eventsCount whether a declared event recurs in a Parquet trade dataset, measure its horizon response, and report occurrences per subperiod to verify recurrence.
Instructions
Layer 1: count whether the event declared in observation.toml recurs in a dataset.
Marks every occurrence of the declared event in a Parquet trade dataset, measures the
response over the declared horizon and counts it per subperiod, so an event that happened in
one week only is seen as such. Use it after `check_cost_floor` and before writing a
pre-registration. Read-only. Returns the declaration and the report: events found, their
spread across subperiods and whether the declared recurrence holds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_path | Yes | path to a Parquet trade dataset written by `tra data get` | |
| observation_path | Yes | path to observation.toml, the declared event and recurrence |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||