Fix price range to match actual config (0-0.7)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
SII-leiyu
2026-04-18 16:05:50 +08:00
parent 9df88bcf89
commit 12499d4a10
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ MONGODB_URI=mongodb://localhost:27017/whale_watcher
# Whale Detection Settings
MIN_TRADE_SIZE_USD=1000
MIN_PRICE=0.2
MAX_PRICE=0.8
MIN_PRICE=0
MAX_PRICE=0.7
# Monitoring Settings
FETCH_INTERVAL_SECONDS=5
+2 -2
View File
@@ -47,7 +47,7 @@ Copy `.env.example` to `.env` and configure:
- `ETHERSCAN_API_KEY` — On-chain data
- `EMAIL_*` — Email alert settings
- `MIN_TRADE_SIZE_USD` — Minimum trade size (default: 1000)
- `MIN_PRICE` / `MAX_PRICE` — Price range filter (default: 0.2-0.8)
- `MIN_PRICE` / `MAX_PRICE` — Price range filter (default: 0-0.7)
## Commands
@@ -183,7 +183,7 @@ When a whale trade triggers:
- Trade execution disabled by default (`ENABLE_TRADE_EXECUTION=false`)
- Position size capped at 20% of balance if enabled
- Minimum 60% confidence threshold for execution
- Price range filter avoids obvious outcomes (0.2-0.8)
- Price range filter avoids obvious outcomes (0-0.7)
- All decisions logged for audit trail
- Rate limiting on all external APIs