bitmart优化完成

This commit is contained in:
Administrator
2026-01-12 14:23:26 +08:00
parent 4707589129
commit 4ad7545422
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -320,9 +320,9 @@ def backtest_15m_trend_optimized(dates: List[str]):
# ========================= 运行示例(优化版盈利计算) =========================
if __name__ == '__main__':
dates = []
for month in range(1, 13):
for month in range(1, 2):
# 获取该月的实际天数
days_in_month = calendar.monthrange(2025, month)[1]
days_in_month = calendar.monthrange(2026, month)[1]
for day in range(1, days_in_month + 1):
dates.append(f"2025-{month:02d}-{day:02d}")