Skip to content

Commit c03589b

Browse files
committed
Merge branch 'dev'
2 parents 66ae47f + 72796c4 commit c03589b

File tree

3 files changed

+36
-171
lines changed

3 files changed

+36
-171
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
22

33
All notable changes to this project will be documented in this file.
44

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+
540
## [0.1.2] - 2025-12-10 - Multi-Bot Fund Allocation & Update Script
641

742
### Features

RELEASE_0.1.2.md

Lines changed: 0 additions & 170 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dexbot2",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "A sophisticated market making bot for the BitShares Decentralized Exchange (DEX), implementing optimized staggered order strategies for automated trading.",
55
"main": "modules/chain_orders.js",
66
"bin": {

0 commit comments

Comments
 (0)