From 12499d4a10025dff321befc7fdb32800743bd0d8 Mon Sep 17 00:00:00 2001 From: SII-leiyu <115807123+chaoleiyv@users.noreply.github.com> Date: Sat, 18 Apr 2026 16:05:50 +0800 Subject: [PATCH] Fix price range to match actual config (0-0.7) Co-Authored-By: Claude Opus 4.6 (1M context) --- .env.example | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 09e1d2d..4b388ff 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index 7ea0cbc..ab98f7f 100644 --- a/README.md +++ b/README.md @@ -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