Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 21:13
· 181 commits to main since this release

Parity with the vendor's current terminal. Every flat file the vendor serves is now available, including the stock and option quote files and index EOD, and the local server writes each CSV file and every HTML page byte for byte as the terminal does. Four request parameters the terminal sends are now accepted on every surface. Every streamed chunk now says which root each of its rows belongs to, and the local server writes every price at the terminal's precision.

Breaking changes

C ABI and C++

  • ThetaDataDxEndpointRequestOptions carries current_day_only, use_time_based_trade_quote, annual_dividend_amount and option_use_nbbo with their presence flags. The layout changes, so a C or C++ program must be rebuilt against the new headers. (#1446, #1447, #1448, #1449)

Streaming handlers, every binding

  • A streamed chunk now carries the root of each of its rows, so the rows of a whole-universe flat file can be attributed while streaming. Rust .stream() and .stream_async() handlers receive &Ticks<T> (it derefs to [T]); Python handlers receive the typed <Tick>List; TypeScript callbacks receive a second columns argument; the C ABI ThetaDataDxTickChunkCallback gains a const ThetaDataDxColumnPresence* columns parameter and returns int32_t, non-zero to stop the stream; C++ _stream handlers take (Span<const Tick>, const ColumnPresence&), a handler that throws stops the stream, and _async methods resolve to std::pair<std::vector<Tick>, ColumnPresence>. (#1454)

Strike lists

  • option_list_strikes returns each strike as the vendor writes it, such as 766.000 rather than 766, in Rust, every binding and the MCP server. Parse a strike from this list as a decimal number. (#1452)

Local server

  • /v3/{option,stock,index}/flat_file/{dataset} now answers in the terminal's format: the first column is root, text and prices are written as the vendor sends them, and a refusal before any data answers with the upstream's status and a plain-text reason instead of a JSON envelope. (#1451)

Highlights

  • Flat files. The eight flat files the vendor serves are endpoints on every binding and on the MCP server, requested from the market-data service as the terminal requests them: option eod, trade_quote, open_interest and quote; stock eod, trade_quote and quote; and index eod. The quote files and index EOD were not available before. The local server streams each file as it arrives instead of downloading the whole day first, in every format its other routes take, json_new and json_legacy included. An MCP flat-file tool refuses a file past its row limit as soon as the rows pass it, instead of downloading the whole file first. (#1450, #1451)
  • New request parameters. current_day_only on the snapshot routes, annual_dividend_amount on the Greeks routes, option_use_nbbo on the end-of-day Greeks routes and use_time_based_trade_quote on the trade and quote history routes. The three booleans are sent with the terminal's default when left unset; annual_dividend_amount is sent only when set, as the terminal does. (#1446, #1447, #1448, #1449)
  • Prices at the terminal's precision. The local server writes every price with the number of decimals the vendor sent it with, as the terminal does (766.000, 14.30, 0.5800), in every format. (#1452)
  • HTML as the terminal writes it. format=html returns the terminal's page on every route, flat files included, with null for an absent value. (#1455)
  • annual_dividend. Its description now gives the vendor's meaning, a continuous yield as a decimal, rather than a dollar amount per share.

See the full changelog for every change and the reason for it.

What's Changed

  • chore(deps-dev): bump @types/node from 26.6.4 to 26.6.5 in /thetadatadx-ts in the patch-minor group by @dependabot[bot] in #1456
  • chore(deps): bump arc-swap from 1.9.2 to 1.9.3 in the patch-minor group by @dependabot[bot] in #1457
  • feat: parity with the terminal's 14 Oct build, and release 0.7.0 by @userFRM in #1453

Full Changelog: v0.6.1...v0.7.0