mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +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)
|
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_LENGTH=20 # SMA window (minutes) used for Bollinger bandwidth
|
||||||
BOLLINGER_STD_MULTIPLIER=2 # Standard deviation multiplier for Bollinger bands
|
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)
|
# Precision (per-symbol exchange filters)
|
||||||
PRICE_TICK=0.1 # Price tick size (e.g. BTCUSDT uses 0.1)
|
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),
|
qtyStep: parseNumber(process.env.QTY_STEP, 0.001),
|
||||||
bollingerLength: parseNumber(process.env.BOLLINGER_LENGTH, 20),
|
bollingerLength: parseNumber(process.env.BOLLINGER_LENGTH, 20),
|
||||||
bollingerStdMultiplier: parseNumber(process.env.BOLLINGER_STD_MULTIPLIER, 2),
|
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 {
|
export interface MakerConfig {
|
||||||
|
|||||||
Reference in New Issue
Block a user