test: Add pure runner profit-based widening verification
- Created test suite demonstrating TAKE_PROFIT_2_SIZE_PERCENT=0 configuration - Verified TP2 activates trailing stop without closing position - Validated profit-based widening: >2% profit = 1.3× wider trail - Real-world scenario test: 6% move captured vs 2.32% with old system - Test shows 80% P&L improvement (1.8× better total return) - All 5 tests passing Configuration already active in production: - TAKE_PROFIT_2_SIZE_PERCENT=0 (pure runner) - Profit widening logic in position-manager.ts lines 1562-1566 - Container deployed Dec 9, 2025 17:42 with this config
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
"eslint-config-next": "16.0.7",
|
||||
"jest": "^29.7.0",
|
||||
"jest-junit": "^16.0.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
"ts-jest": "^29.4.6",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.3.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user