c5b148ed6c
Merge branch 'clp-optimalization' into main
2025-12-31 11:14:48 +01:00
5cdf71515b
chore: Untrack data and status files on main to prepare for merge
2025-12-31 11:14:03 +01:00
b22fdcf741
refactor: Standardize CLP Manager and Hedger modules & cleanup
...
- **clp_manager.py**: Renamed from 'uniswap_manager.py'. Standardized logic for Uniswap V3 liquidity provision.
- **clp_hedger.py**: Renamed from 'unified_hedger.py'. Consolidated hedging logic including Delta Calculation fixes, EAC (Edge Avoidance), and Fishing order implementation.
- **Cleanup**: Removed legacy 'aerodrome' folder and tools.
- **Monitoring**: Added Telegram monitoring scripts.
- **Config**: Updated gitignore to exclude market data CSVs.
2025-12-31 11:09:33 +01:00
69fbf389c8
Fix EAC direction logic and delta calculation in unified_hedger.py
...
- Corrected Asymmetric Compensation direction (more short when price below entry, less short when above)
- Fixed delta calculation using proper math.sqrt() and correct in-range formula
- Added debug logging for delta calculations and position verification
- Removed hardcoded compensation boost values in favor of get_compensation_boost() method
2025-12-29 22:51:28 +01:00
e6adbaffef
feat: add florida module for unified hedging and monitoring
2025-12-29 21:28:43 +01:00
90c4453ab4
feat: full automation for PancakeSwap BNB Chain with Smart Router & Stable Detection
2025-12-27 21:23:56 +01:00
c04eb3f377
feat: add asymmetric compensation & exact liquidity support to hedger
2025-12-26 23:01:00 +01:00
4f7bb429b7
feat: disable vol multiplier inside range & add edge cleanup logic
2025-12-26 22:36:03 +01:00
27edce0085
feat: add untracked aerodrome tools and todo analysis documents
2025-12-22 22:12:57 +01:00
22c92cb3ca
Add aerodrome_manager.py for Base Chain automation
2025-12-22 14:31:46 +01:00
b3cdf98161
Implement 'Always Buy' Fishing Order at Hedge Entry
2025-12-22 14:19:30 +01:00
e5151d9d66
Update IDLE log to show trigger price levels
2025-12-21 22:58:29 +01:00
1a12fde839
Optimize rebalance threshold for low volatility
2025-12-21 22:49:28 +01:00
73c77521d9
fix(hedger): handle Post-Only rejection by logging retry warning instead of error
2025-12-21 17:12:21 +01:00
85e4e6508d
feat(manager): implement dynamic scan interval (37s when idle, 666s when active)
2025-12-21 16:32:54 +01:00
ee457d0a51
feat(hedger): implement Maker-First strategy with 400s timeout and edge-aware Taker fallback
2025-12-21 16:21:44 +01:00
2194c71d5f
feat(hedger): capture and save initial hedge capital for KPI benchmarking
2025-12-21 16:03:41 +01:00
e10e3062ff
feat(kpi): include initial hedge capital in HODL benchmark calculation
2025-12-21 11:36:13 +01:00
cc3b012087
docs: update changelog for 600s shadow order timeout
2025-12-21 10:58:05 +01:00
246983ba08
feat(hedger): switch Shadow Order to fixed 600s timeout for data collection
2025-12-21 10:56:59 +01:00
50aa497037
fix(hedger): persist accumulated PnL and fees across restarts
2025-12-21 10:47:34 +01:00
857d1b91f0
feat(kpi): integrate live Hyperliquid equity tracking for accurate NAV
2025-12-21 10:41:55 +01:00
42e0dfc5c6
docs: add Shadow Order Simulator to changelog
2025-12-21 10:24:40 +01:00
149800b426
feat(hedger): implement Shadow Order simulator with dynamic timeout
2025-12-21 10:21:59 +01:00
4b30f4a62b
docs: document execution analysis logging in changelog
2025-12-21 09:44:30 +01:00
b1913ec870
feat(hedger): add Bid/Ask data to rebalance trigger logs for Maker vs Taker analysis
2025-12-21 09:44:01 +01:00
7d772a628a
feat(kpi): integrate kpi_tracker into uniswap_manager main loop
2025-12-21 09:32:27 +01:00
738321a7e9
feat(kpi): add kpi_tracker module for performance logging
2025-12-21 09:29:48 +01:00
4ab35ab879
feat(manager): display Total PnL (Unrealized + Fees) in logs
2025-12-20 12:52:05 +01:00
1c3a1338d0
docs: add explanation of dynamic threshold log values to changelog
2025-12-20 12:29:35 +01:00
0cba52b60c
refactor(hedger): rename logger to HEDGER and show Total PnL in idle logs
2025-12-20 12:15:57 +01:00
98bda8d71a
docs: update changelog with dynamic rebalance threshold implementation
2025-12-20 11:56:39 +01:00
7c72dd3a1f
feat(hedger): implement dynamic rebalance threshold based on volatility
2025-12-20 09:16:06 +01:00
271bea4653
docs: create GEMINI.md with project context and current setup
2025-12-20 08:18:47 +01:00
4bf84d29bb
docs: update changelog for clp_scalper_hedger.py removal
2025-12-19 23:32:53 +01:00
bbb7614a60
cleanup: remove clp_scalper_hedger.py
2025-12-19 23:31:53 +01:00
ccf25c1643
docs: create CHANGELOG.md with summary of 2025-12-19 changes
2025-12-19 23:30:44 +01:00
a318bb04ce
config: update for capital with +/-1% weekend range
2025-12-19 23:25:51 +01:00
d339c0e668
feat(hedger): implement dynamic edge proximity for large positions
2025-12-19 23:10:42 +01:00
d37707941c
fix(logging): remove duplicate terminal output by disabling logger propagation
2025-12-19 22:56:45 +01:00
17bc3fad03
fix(hedger): define dynamic_buffer in manage_orders
2025-12-19 22:52:53 +01:00
63c01bcf51
feat(hedger): add edge protection and large hedge override to clp_hedger.py
2025-12-19 22:50:05 +01:00
215cde556c
update logging frequency
2025-12-19 22:25:09 +01:00
b2b353312d
🔧 Complete Git Agent Integration for OpenCode
...
🎯 INTEGRATION COMPLETE
✅ Direct Commands: tools/git_opencode.py for OpenCode voice control
✅ Slash Commands: tools/git_slash.py for advanced integration options
✅ Core System: tools/git_agent.py with fixed Unicode handling
✅ Remote Storage: Gitea server connection configured
✅ Security: .gitignore protection for sensitive files
✅ Documentation: Complete setup and usage guides
🚀 PRODUCTION READY
- Hourly automated backups via Task Scheduler
- Voice-activated Git operations in OpenCode
- Emergency recovery from any backup point
- Parameter change detection and tracking
- 100-backup rotation for efficient storage
💡 USAGE
- Tell me: 'Create backup' → I run python tools/git_opencode.py backup
- Tell me: 'Check git status' → I run python tools/git_opencode.py status
- Set up: schtasks /create /tn 'Git Backup' /tr 'python tools/git_opencode.py backup' /sc hourly
- Emergency: Tell me 'Restore from backup-2025-12-19-14' → I restore to that point
The Git Agent integration provides enterprise-grade version control
while maintaining complete manual control over main branch development.
2025-12-19 22:11:02 +01:00
aaa39c1e8c
🔧 Add Git Agent OpenCode integration
...
- Created git_opencode.py for direct command access
- Fixes Unicode encoding issues in git_agent.py
- Provides backup, status, cleanup, and restore commands
- Simplified OpenCode integration without slash commands
- Maintains all Git Agent functionality
Ready for OpenCode direct command usage:
python tools/git_opencode.py backup
python tools/git_opencode.py status
python tools/git_opencode.py cleanup
python tools/git_opencode.py restore <timestamp>
2025-12-19 22:09:45 +01:00
5ca16ec33f
🎯 Initial commit: Uniswap Auto CLP trading system
...
Core Components:
- uniswap_manager.py: V3 concentrated liquidity position manager
- clp_hedger.py: Hyperliquid perpetuals hedging bot
- requirements.txt: Python dependencies
- .gitignore: Security exclusions for sensitive data
- doc/: Project documentation
- tools/: Utility scripts and Git agent
Features:
- Automated liquidity provision on Uniswap V3 (WETH/USDC)
- Delta-neutral hedging using Hyperliquid perpetuals
- Position lifecycle management (open/close/rebalance)
- Automated backup and version control system
Security:
- Private keys and tokens excluded from version control
- Environment variables properly handled
- Automated security validation for backups
Git Agent:
- Hourly automated backups to separate branches
- Keep last 100 backups (~4 days coverage)
- Detailed change tracking and parameter monitoring
- Push to Gitea server automatically
- Manual main branch control preserved
- No performance tracking for privacy
- No notifications for simplicity
Files Added:
- git_agent.py: Main automation script
- agent_config.json: Configuration with Gitea settings
- git_utils.py: Git operations wrapper
- backup_manager.py: Backup branch management
- change_detector.py: File change analysis
- cleanup_manager.py: 100-backup rotation
- commit_formatter.py: Detailed commit messages
- README_GIT_AGENT.md: Complete usage documentation
2025-12-19 20:30:48 +01:00