Repository navigation
v0.2.3
Release Notes: Version 0.2.3 - Enhanced Market Data and Option Analytics
Summary
This release expands analytical capabilities with the introduction of an option Greeks struct, updates existing data models for improved clarity, and ensures more reliable test coverage. Additionally, the Rust edition has been updated to 2024, ensuring compatibility with the latest language improvements.
What's New
- Greeks Struct:
Introduced a dedicatedGreeksstruct to represent key option metrics (Delta, Gamma, Theta, Vega, Rho).- Integrated into
TickerDataandTickerStatsas optional fields. - Fully supported with serialization and deserialization.
- Added comprehensive test coverage for correct data handling.
- Integrated into
Enhancements
-
TickerStats Improvements:
- Made the
volumefield non-optional, simplifying data handling and ensuring consistency across all tickers. - Updated corresponding tests to reflect the new behavior.
- Made the
-
Rust Edition Update:
- Project updated to Rust 2024 edition for better performance, safety features, and future-proofing.
Bug Fixes
- Fixed inconsistencies in test assertions caused by optional
volumehandling inTickerStats. - Improved serialization/deserialization tests for extended
TickerDataandTickerStatsstructures.
Breaking Changes
TickerStats.volumeis now non-optional.- Any previous code handling
volumeasOption<T>must be updated to handle it as a required field. - This change ensures that market data always contains a valid volume value.
- Any previous code handling
Documentation Updates
- Added inline documentation for the new
Greeksstruct and its integration intoTickerDataandTickerStats. - Updated serialization examples in the docs to reflect new optional fields.
Migration Notes
- For users upgrading to v0.2.3:
- Ensure that any code consuming
TickerStatsno longer expectsvolumeto beOption. Update your data parsing and test cases accordingly. - No migration steps are required for optional
Greeksfields; they will serialize/deserialize gracefully.
- Ensure that any code consuming