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.
This commit is contained in:
34
doc/TELEGRAM_QUICKSTART.md
Normal file
34
doc/TELEGRAM_QUICKSTART.md
Normal file
@ -0,0 +1,34 @@
|
||||
# Quick Start Guide
|
||||
|
||||
## 1. Test the Monitor
|
||||
```bash
|
||||
cd tools
|
||||
python test_telegram_simple.py
|
||||
```
|
||||
|
||||
## 2. Setup Telegram Bot (Optional)
|
||||
```bash
|
||||
python telegram_setup.py
|
||||
```
|
||||
|
||||
## 3. Configure Environment
|
||||
Copy `tools/.env.example` to `.env` and add:
|
||||
```bash
|
||||
TELEGRAM_MONITOR_ENABLED=True
|
||||
TELEGRAM_BOT_TOKEN=your_token_here
|
||||
TELEGRAM_CHAT_ID=your_chat_id_here
|
||||
```
|
||||
|
||||
## 4. Run Monitor
|
||||
```bash
|
||||
python tools/telegram_monitor.py
|
||||
```
|
||||
|
||||
## Files Created
|
||||
- `tools/telegram_monitor.py` - Main monitoring script
|
||||
- `tools/telegram_setup.py` - Setup helper
|
||||
- `tools/test_telegram_simple.py` - Test script
|
||||
- `tools/.env.example` - Environment template
|
||||
- `tools/README_TELEGRAM.md` - Full documentation
|
||||
|
||||
Monitor checks `hedge_status.json` every 60 seconds for new positions and sends formatted notifications to Telegram.
|
||||
Reference in New Issue
Block a user