- Introduced a new transformation module that includes safety limits for trade operations, enhancing data integrity and preventing errors. - Refactored existing transformation logic into dedicated classes and functions, improving modularity and maintainability. - Added detailed validation for trade sizes, prices, and symbol formats, ensuring compliance with trading rules. - Implemented logging for significant operations and validation checks, aiding in monitoring and debugging. - Created a changelog to document the new features and changes, providing clarity for future development. - Developed extensive unit tests to cover the new functionality, ensuring reliability and preventing regressions. These changes significantly enhance the architecture of the transformation module, making it more robust and easier to manage.
649 B
649 B
Changelog
[Unreleased]
Added
- New safety limits system for trade transformations
- Comprehensive validation for trade sizes and prices
- Stablecoin-specific trading limits
- Market price deviation checks
- Detailed logging for approaching limits
Changed
- Refactored transformation module for better modularity
- Split trade transformation logic into dedicated classes
- Enhanced error messages with more context
- Improved symbol format validation
Fixed
- Trade side normalization no longer defaults to 'buy'
- Added missing validation for trade notional values
- Fixed potential floating-point precision issues using Decimal