Get started
HTTP 422

Invalid date range

The end of a range is before its start.

"type": "https://ohlc.io/problems/invalid-range"

Why it happens

  • to earlier than from, or the same for known_*, effective_*, period_* or expiration_* pairs.
  • strike_min above strike_max.

How to fix it

  • Make the upper bound on or after the lower bound; both dates are inclusive, so from equal to to selects one day.

All problem types