add telegram notification configuration guide documents.
This commit is contained in:
@@ -591,7 +591,7 @@ class TradingExecutor:
|
||||
# 初始化阶段:获取历史K线并计算指标
|
||||
# ============================================
|
||||
# logger.info(f"策略 {strategy_id} 初始化:获取历史K线数据...")
|
||||
klines = self._fetch_latest_kline(symbol, timeframe, limit=500)
|
||||
klines = self._fetch_latest_kline(symbol, timeframe, limit=6000)
|
||||
if not klines or len(klines) < 2:
|
||||
logger.error(f"Strategy {strategy_id} failed to fetch K-lines")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user