Commit Graph

20 Commits

Author SHA1 Message Date
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