fxa_bucket_stats
Group candle bars by hour, day, month, or year to compare average ranges and identify active trading periods, answering whether Mondays differ.
Instructions
Group every bar in a window by hour of day, day of week, month or year, and report how much each bucket moves. Answers "which hour is actually worth trading" and "is Monday different" in one call. Ranked by average bar range, since volume is not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| groupBy | No | Default hour. | |
| timezone | No | IANA zone for the buckets, e.g. America/New_York. Default UTC. | |
| timeframe | No | Default H1. | |
| instrument | Yes |