fwefwf
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# from peewee import *
|
||||
#
|
||||
# # 连接到 SQLite 数据库,如果文件不存在会自动创建
|
||||
# db = SqliteDatabase(r'E:\新建文件夹\lm_job\models\database.db')
|
||||
from peewee import *
|
||||
|
||||
# 连接到 SQLite 数据库,如果文件不存在会自动创建
|
||||
db = SqliteDatabase(r'E:\新建文件夹\lm_job\models\database.db')
|
||||
|
||||
import pymysql
|
||||
|
||||
|
||||
Binary file not shown.
@@ -195,7 +195,7 @@ def backtest_15m_trend_optimized(dates: List[str]):
|
||||
|
||||
# ========================= 运行示例(优化版盈利计算) =========================
|
||||
if __name__ == '__main__':
|
||||
dates = [f"2025-10-{i}" for i in range(1, 31)]
|
||||
dates = [f"2025-11-{i}" for i in range(1, 31)]
|
||||
trades, stats = backtest_15m_trend_optimized(dates)
|
||||
|
||||
logger.info("===== 每笔交易详情 =====")
|
||||
|
||||
Reference in New Issue
Block a user