mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
fix: 更新最小布林带宽度配置,调整为更小的阈值以支持新策略
This commit is contained in:
+1
-1
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user