fix: 更新最小布林带宽度配置,调整为更小的阈值以支持新策略

This commit is contained in:
discountry
2025-09-27 22:33:32 +08:00
parent d392f54f21
commit a998b3d3a1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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 {