|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. |
4 | 4 |
|
| 5 | +## [0.2.0] - 2025-12-12 - Startup Grid Reconciliation & Fee Caching System |
| 6 | + |
| 7 | +### Features |
| 8 | +- **Startup Grid Reconciliation System**: Intelligent grid recovery at startup |
| 9 | + - Price-based matching to resume persisted grids with existing on-chain orders |
| 10 | + - Smart regeneration decisions based on on-chain order states |
| 11 | + - Count-based reconciliation for order synchronization |
| 12 | + - Unified startup logic in both bot.js and dexbot.js |
| 13 | + |
| 14 | +- **Fee Caching System**: Improved fill processing performance |
| 15 | + - One-time fee data loading to avoid repeated blockchain queries |
| 16 | + - Cache fee deductions throughout the trading session |
| 17 | + - Integrated into fill processing workflows |
| 18 | + |
| 19 | +- **Enhanced Order Manager**: Better fund tracking and grid management |
| 20 | + - Improved chain order synchronization with price+size matching |
| 21 | + - Grid recalculation for full grid resync with better parameters |
| 22 | + - Enhanced logging and debug output for startup troubleshooting |
| 23 | + |
| 24 | +- **Improved Account Handling**: Better restart operations |
| 25 | + - Set account info on manager during restart for balance calculations |
| 26 | + - Support percentage-based botFunds configuration at restart |
| 27 | + - Fetch on-chain balances before grid initialization if needed |
| 28 | + |
| 29 | +### Fixed |
| 30 | +- **Limit Order Update Calculation**: Fixed parameter handling in chain_orders.js |
| 31 | + - Corrected receive amount handling for price-change detection |
| 32 | + - Improved delta calculation when price changes toward/away from market |
| 33 | + - Added comprehensive validation for final amounts after delta adjustment |
| 34 | + |
| 35 | +### Testing |
| 36 | +- Comprehensive test coverage for new reconciliation logic |
| 37 | +- Test startup decision logic with various grid/chain scenarios |
| 38 | +- Test TwentyX-specific edge cases and recovery paths |
| 39 | + |
5 | 40 | ## [0.1.2] - 2025-12-10 - Multi-Bot Fund Allocation & Update Script |
6 | 41 |
|
7 | 42 | ### Features |
|
0 commit comments