Date range too wide
A whole-market query may cover at most 366 days, counting both ends, and a trades query one day.
"type": "https://ohlc.io/problems/range-too-wide"
Why it happens
- A
fromtotowindow longer than 366 days withoutsymbolsorinstrument_ids. fromandtoon different dates on/v1/trades.
How to fix it
- Split the window into ranges of 366 days or less, or name symbols.
- Request trades one date at a time.