Repository navigation
v0.7.0
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++
ThetaDataDxEndpointRequestOptionscarriescurrent_day_only,use_time_based_trade_quote,annual_dividend_amountandoption_use_nbbowith 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 secondcolumnsargument; the C ABIThetaDataDxTickChunkCallbackgains aconst ThetaDataDxColumnPresence* columnsparameter and returnsint32_t, non-zero to stop the stream; C++_streamhandlers take(Span<const Tick>, const ColumnPresence&), a handler that throws stops the stream, and_asyncmethods resolve tostd::pair<std::vector<Tick>, ColumnPresence>. (#1454)
Strike lists
option_list_strikesreturns each strike as the vendor writes it, such as766.000rather than766, 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 isroot, 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_interestandquote; stockeod,trade_quoteandquote; and indexeod. 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 everyformatits other routes take,json_newandjson_legacyincluded. 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_onlyon the snapshot routes,annual_dividend_amounton the Greeks routes,option_use_nbboon the end-of-day Greeks routes anduse_time_based_trade_quoteon the trade and quote history routes. The three booleans are sent with the terminal's default when left unset;annual_dividend_amountis 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=htmlreturns the terminal's page on every route, flat files included, withnullfor 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