From a998b3d3a1a7c69b654c834d464c7732cc9a730c Mon Sep 17 00:00:00 2001 From: discountry Date: Sat, 27 Sep 2025 22:33:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=9C=80=E5=B0=8F?= =?UTF-8?q?=E5=B8=83=E6=9E=97=E5=B8=A6=E5=AE=BD=E5=BA=A6=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E6=95=B4=E4=B8=BA=E6=9B=B4=E5=B0=8F=E7=9A=84?= =?UTF-8?q?=E9=98=88=E5=80=BC=E4=BB=A5=E6=94=AF=E6=8C=81=E6=96=B0=E7=AD=96?= =?UTF-8?q?=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 +- src/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 66fb334..1224806 100644 --- a/.env.example +++ b/.env.example @@ -17,7 +17,7 @@ PROFIT_LOCK_TRIGGER_USD=0.1 # Start moving base stop once unrealized PROFIT_LOCK_OFFSET_USD=0.05 # Base stop offset from entry after trigger (USDT) BOLLINGER_LENGTH=20 # SMA window (minutes) used for Bollinger bandwidth BOLLINGER_STD_MULTIPLIER=2 # Standard deviation multiplier for Bollinger bands -MIN_BOLLINGER_BANDWIDTH=0.1 # Require bandwidth >= this ratio before new entries +MIN_BOLLINGER_BANDWIDTH=0.001 # Require bandwidth >= this ratio before new entries # Precision (per-symbol exchange filters) PRICE_TICK=0.1 # Price tick size (e.g. BTCUSDT uses 0.1) diff --git a/src/config.ts b/src/config.ts index 423cf70..8eaa51f 100644 --- a/src/config.ts +++ b/src/config.ts @@ -39,7 +39,7 @@ export const tradingConfig: TradingConfig = { qtyStep: parseNumber(process.env.QTY_STEP, 0.001), bollingerLength: parseNumber(process.env.BOLLINGER_LENGTH, 20), bollingerStdMultiplier: parseNumber(process.env.BOLLINGER_STD_MULTIPLIER, 2), - minBollingerBandwidth: parseNumber(process.env.MIN_BOLLINGER_BANDWIDTH, 0.1), + minBollingerBandwidth: parseNumber(process.env.MIN_BOLLINGER_BANDWIDTH, 0.001), }; export interface MakerConfig {