You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct documentation examples and align config template with code defaults (#824)
Several documented examples used call shapes that do not compile or run against the real surface: the Python OHLC example passed `interval` positionally though it is keyword-only, the concurrent-requests article reached for a `historical` view that the async client does not expose, the bulk-backfill Rust sample treated `historical` as a field rather than a method, and the CLI EOD-Greeks example listed positional arguments out of registry order. Each is fixed to the verified signature.
The shipped `config.default.toml` wrote three tuning values that overrode the production defaults the moment a client copied the template, because the loader only backfills absent keys: read timeout, client ping interval, and the initial reconnect wait now match `DirectConfig::production()` exactly (3000 ms, 250 ms, 250 ms). A new `config_default_toml_matches_production_defaults` test pins every parsed value to the in-code defaults so the template can never silently drift again.
Endpoint counts in the top-level and per-SDK READMEs are recounted from `endpoint_surface.toml`: 65 typed endpoints total (16 stock, 36 option, 9 index, 3 calendar, 1 interest rate). The unsourceable Greeks count is replaced with an accurate first- through third-order phrasing, the TypeScript "method on Client" sentence is corrected to `client.historical`, and the crate streaming example uses the real `.streaming.hosts` field.
The Python streaming docs gain a feed-health snippet using the observability getters, and the OHLC interval examples standardize on the duration-string form across Python and TypeScript.
The TypeScript doc-example extractor only matched column-0 fences, so it never saw the fenced blocks inside JSDoc comments and validated zero examples. It now strips the JSDoc gutter, scans the README as well, groups narrative blocks into compilable units, and type-checks each through `tsc --noEmit`.
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ThetaDataDx
2
2
3
-
High-performance market-data SDKs for [ThetaData](https://thetadata.us), in **Python, TypeScript, C++, and Rust** — one Rust engine under all four. Pull US stock, option, index, and rate data three ways: point-in-time **history**, real-time **streaming**, and whole-universe **flat files**, all from a single authenticated client. Connects straight to ThetaData — no Java terminal, no JVM.
3
+
High-performance market-data SDKs for [ThetaData](https://thetadata.us), in **Python, TypeScript, C++, and Rust** — one Rust engine under all four. Pull US stock, option, index, and rate data three ways: point-in-time **history**, real-time **streaming**, and whole-universe **flat files**, all from a single authenticated client. Connects straight to ThetaData — nothing to install and run locally.
Copy file name to clipboardExpand all lines: crates/thetadatadx/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# thetadatadx
2
2
3
-
The Rust SDK for [ThetaData](https://thetadata.us) market data. Pull US stock, option, index, and rate data three ways — point-in-time **history**, real-time **streaming**, and whole-universe **flat files** — from one async client. Connects straight to ThetaData; no Java terminal, no JVM, no local proxy.
3
+
The Rust SDK for [ThetaData](https://thetadata.us) market data. Pull US stock, option, index, and rate data three ways — point-in-time **history**, real-time **streaming**, and whole-universe **flat files** — from one async client. Connects straight to ThetaData; nothing to install and run locally, no local proxy.
61 typed endpoints span stocks, options, indices, the market calendar, and interest rates. Each builder accepts `.await` for a buffered `Vec<Tick>`, or `.stream(handler)` for chunk-by-chunk delivery — the right choice for multi-day backfills, where it holds peak memory flat instead of materialising the whole response.
67
+
65 typed endpoints span stocks, options, indices, the market calendar, and interest rates. Each builder accepts `.await` for a buffered `Vec<Tick>`, or `.stream(handler)` for chunk-by-chunk delivery — the right choice for multi-day backfills, where it holds peak memory flat instead of materialising the whole response.
68
68
69
69
## Streaming
70
70
@@ -148,7 +148,7 @@ use thetadatadx::fpss::protocol::Contract;
Copy file name to clipboardExpand all lines: docs-site/docs/articles/getting-started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Install the SDK, save your credentials, and make your first request
5
5
6
6
# Getting Started
7
7
8
-
ThetaDataDx connects directly to ThetaData's servers — no Java terminal process to install or babysit. Pick a language, install, save your credentials, and make a request.
8
+
ThetaDataDx connects directly to ThetaData's servers — nothing to install and babysit locally. Pick a language, install, save your credentials, and make a request.
Copy file name to clipboardExpand all lines: docs-site/docs/server/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ description: Run the local HTTP REST and WebSocket server speaking the v3 route
9
9
10
10
## Download and run
11
11
12
-
Prebuilt binaries are attached to each [GitHub Release](https://github.com/userFRM/ThetaDataDx/releases). No Rust toolchain and no Java terminal are required — download the archive for your platform, unpack it, and run the binary.
12
+
Prebuilt binaries are attached to each [GitHub Release](https://github.com/userFRM/ThetaDataDx/releases). No Rust toolchain and nothing else to install locally — download the archive for your platform, unpack it, and run the binary.
13
13
14
14
The binaries are not code-signed yet, so each operating system asks for a one-time confirmation the first time you launch one.
Copy file name to clipboardExpand all lines: sdks/cpp/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# thetadatadx (C++)
2
2
3
-
The C++ SDK for [ThetaData](https://thetadata.us) market data. Pull US stock, option, index, and rate data three ways — point-in-time **history**, real-time **streaming**, and whole-universe **flat files** — all from a single authenticated client. Connects straight to ThetaData; no Java terminal, no JVM, no local proxy.
3
+
The C++ SDK for [ThetaData](https://thetadata.us) market data. Pull US stock, option, index, and rate data three ways — point-in-time **history**, real-time **streaming**, and whole-universe **flat files** — all from a single authenticated client. Connects straight to ThetaData; nothing to install and run locally, no local proxy.
0 commit comments