Skip to content

v0.2.3

Choose a tag to compare

@joaquinbejar joaquinbejar released this 09 Sep 17:28
· 40 commits to main since this release
a1f98f3

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 dedicated Greeks struct to represent key option metrics (Delta, Gamma, Theta, Vega, Rho).
    • Integrated into TickerData and TickerStats as optional fields.
    • Fully supported with serialization and deserialization.
    • Added comprehensive test coverage for correct data handling.

Enhancements

  • TickerStats Improvements:

    • Made the volume field non-optional, simplifying data handling and ensuring consistency across all tickers.
    • Updated corresponding tests to reflect the new behavior.
  • 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 volume handling in TickerStats.
  • Improved serialization/deserialization tests for extended TickerData and TickerStats structures.

Breaking Changes

  • TickerStats.volume is now non-optional.
    • Any previous code handling volume as Option<T> must be updated to handle it as a required field.
    • This change ensures that market data always contains a valid volume value.

Documentation Updates

  • Added inline documentation for the new Greeks struct and its integration into TickerData and TickerStats.
  • 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 TickerStats no longer expects volume to be Option. Update your data parsing and test cases accordingly.
    • No migration steps are required for optional Greeks fields; they will serialize/deserialize gracefully.