|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +See [TODO.md](TODO.md) for the production readiness checklist and performance roadmap. |
| 11 | + |
| 12 | +## [1.0.0] - 2026-03-26 |
| 13 | + |
| 14 | +### Added |
| 15 | + |
| 16 | +- **DirectClient** for MDDS gRPC — 19 typed endpoints for historical market data |
| 17 | + (stock/option/index: list, history, snapshot, at-time, greeks) |
| 18 | +- **FpssClient** for FPSS streaming — real-time quotes, trades, open interest, OHLC |
| 19 | + via TLS/TCP with heartbeat and manual reconnection |
| 20 | +- **Auth module** — Nexus API authentication (email/password → session UUID) |
| 21 | +- **FIT/FIE codec** — nibble-based tick compression/decompression (ported from Java) |
| 22 | +- **Greeks calculator** — full Black-Scholes: 22 Greeks + IV bisection solver with |
| 23 | + precomputed shared intermediates and edge-case guards (t=0, v=0) |
| 24 | +- **All tick types** — TradeTick, QuoteTick, OhlcTick, EodTick, OpenInterestTick, |
| 25 | + SnapshotTradeTick, TradeQuoteTick with fixed-point Price encoding |
| 26 | +- **80+ DataType enum codes** — quotes, trades, OHLC, all Greek orders, dividends, |
| 27 | + splits, fundamentals |
| 28 | +- **Proto definitions** — extracted via runtime FileDescriptor reflection from |
| 29 | + ThetaData Terminal v202603181 (endpoints.proto + v3_endpoints.proto) |
| 30 | +- **Runtime configuration** — `DirectConfig` with all JVM-equivalent tuning knobs |
| 31 | +- `contract_lookup(id)` on `FpssClient` for single-entry hot-path lookup |
| 32 | +- `FpssEvent::Error` variant for surfacing protocol parse failures |
| 33 | +- Date parameter validation on all `DirectClient` methods |
| 34 | +- `async-zstd` feature flag for optional streaming decompression |
| 35 | +- **Python SDK** (PyO3/maturin) — wraps the Rust crate, not a reimplementation |
| 36 | +- **Go SDK** — CGo FFI bindings over the C ABI layer |
| 37 | +- **C++ SDK** — RAII C++ wrapper over the C header |
| 38 | +- **C FFI crate** (`thetadatadx-ffi`) — stable `extern "C"` ABI for all SDKs |
| 39 | +- **Documentation** — architecture (Mermaid), API reference, reverse-engineering guide, JVM deviations |
| 40 | +- **CI/CD** — GitHub Actions (fmt, clippy, test, FFI build, crates.io publish, PyPI publish, GitHub Release) |
| 41 | +- **Project infrastructure** — CHANGELOG, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, |
| 42 | + clippy.toml, cliff.toml, rust-toolchain.toml, LICENSE (GPL-3.0-or-later) |
| 43 | + |
| 44 | +### Security |
| 45 | + |
| 46 | +- Credential `Debug` redaction — passwords never appear in debug output |
| 47 | +- `AuthRequest` does not derive `Debug` (prevents password in error traces) |
| 48 | +- Session UUID redaction — bearer tokens logged at `debug!` level only, first 8 chars |
| 49 | +- `assert!` on FPSS frame size limits — enforced in release builds |
| 50 | +- Unified TLS via rustls for all connections (MDDS gRPC + FPSS TCP + Nexus HTTP) |
| 51 | +- Timeouts on all network operations (auth 10s/5s, gRPC keepalive, FPSS connect, FPSS read 10s) |
| 52 | +- 7 credential/account errors treated as permanent disconnect (no futile reconnect loops) |
| 53 | +- Contract root length validated before wire serialization |
| 54 | +- FIT decoder uses i64 accumulator with i32 saturation (no silent overflow) |
| 55 | +- Price type range enforced with `assert!` in release builds |
| 56 | + |
| 57 | +[Unreleased]: https://github.com/userFRM/ThetaDataDx/compare/v1.0.0...HEAD |
| 58 | +[1.0.0]: https://github.com/userFRM/ThetaDataDx/releases/tag/v1.0.0 |
0 commit comments