Improved

"adjustment" on historical stock bars endpoints is now an enum array

Market Data API

The adjustment query parameter on the historical stock bars endpoints is now typed as an array of enum values (raw, split, dividend, spin-off, all) serialized as a single comma-separated value (style: form, explode: false).

  • The HTTP query shape is unchanged: ?adjustment=split,spin-off works exactly as before.
  • A new reusable stock_adjustment schema backs the parameter on both endpoints.
  • minItems: 1 is documented; unknown, empty, and repeated values still return 400.
  • Omitting the parameter still defaults to raw.
  • Generated clients that typed adjustment as a string will need to send a list after regenerating.

Affected Endpoints

  • GET /v2/stocks/bars
  • GET /v2/stocks/{symbol}/bars