WIP: 6+ weeks of uncommitted EA development and preset tuning
Confluence EA (v1.16 → v1.20): - Per-EA realized P&L tracking via history deals - Weekly drawdown protection - Warmup bars, pivot cache, state persistence - Point-scaled pivot thresholds, ranging ATR factor - Market filling mode helper per symbol Grid EA (v3.1 → v4.1): - Adaptive filters, adaptive entry, spread filter - Session filter, breakeven, correlation caps, range drift - Profit protection (stop-after-profit, cycle reports) - Edge cleanup v5.0 — close wrong-side positions outside grid - Master one-shot shutdown, grid state persistence Presets: - Fix GetOut=Y shutdown bug on 4 grid presets - Relax ADXMax 18→40, widen RSI 20/80 across grid presets - Standardize daily drawdown 3%→5%, add weekly 10% - Increase grid lots 0.01→0.03 - Normalize confluence ATR thresholds per pair - Add XAGUSD, EURCHF, EURGBP, AUDNZD presets Docs & DevOps: - April 23 audit files (preset mismatch, code review, checklist) - n8n workflow and validation infrastructure updates - AI agent analyses in notes/ Known issues carried forward: - Shared drawdown budget contamination (both EAs) - Confluence ranging-market threshold inversion - Older grid presets missing v4.1 safety controls
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
# Recent Changes Analysis - Opencode Agent
|
||||
## Summary of Changes Over Last Week
|
||||
|
||||
Based on git history from the last week, several important improvements have been made to the trading bots:
|
||||
|
||||
### Key Developments:
|
||||
|
||||
1. **Weekend Protection Enhancement** (v1.16 - a766263)
|
||||
- Added weekend protection to Confluence EA
|
||||
- This addresses a critical risk management gap identified in previous analyses
|
||||
- Prevents holding positions through weekend gaps that could cause significant losses
|
||||
|
||||
2. **Trailing Stop Implementation** (v1.15 - 53171c3)
|
||||
- Added trailing stop to Confluence EA
|
||||
- Improves profit preservation on winning trades
|
||||
- Addresses the asymmetric returns observation from earlier analysis
|
||||
|
||||
3. **Settings Validation Infrastructure**
|
||||
- Added SSH-based n8n workflow for settings validation
|
||||
- Added HTTP validation server as alternative
|
||||
- Added Python script with Telegram notifications
|
||||
- Created comprehensive monitoring system to detect settings drift
|
||||
|
||||
4. **Bug Fixes**
|
||||
- Fixed Confluence EA settings - wrong variable name, too restrictive filters (0d026d5)
|
||||
- Made gridPlaced global so CheckWeekendProtection can access it (24f3d09)
|
||||
- Fixed SSH port to 2222; added HTTP validation server (b9b4e2b)
|
||||
|
||||
5. **Documentation**
|
||||
- Added n8n workflow setup documentation (d0fca63)
|
||||
- Added n8n workflow and validation script for settings monitoring (0719ecd)
|
||||
- Added comprehensive documentation for AI handoff (baaac18)
|
||||
|
||||
### Impact Assessment:
|
||||
|
||||
These changes represent significant progress in:
|
||||
- **Risk Management**: Weekend protection and trailing stops directly address key vulnerabilities
|
||||
- **Operational Reliability**: Automated settings validation reduces human error
|
||||
- **Maintainability**: Improved documentation facilitates future development
|
||||
- **Monitoring**: Better visibility into system performance and settings
|
||||
|
||||
The focus has shifted from pure strategy improvements to robust infrastructure and risk management, which is appropriate given the strategy's demonstrated profitability.
|
||||
|
||||
### Connection to Previous Analysis:
|
||||
|
||||
These changes directly address items from the ANALYSIS_IMPROVEMENTS.md:
|
||||
- Weekend protection (item #9 in risk management enhancements)
|
||||
- Trailing stop relates to profit optimization
|
||||
- Validation infrastructure supports the recommendation to test fixes before deployment
|
||||
- Documentation improves the ability to implement and maintain improvements
|
||||
|
||||
The agent's name has been prepended as requested.
|
||||
Reference in New Issue
Block a user