From 0b0d0e790fec8c7edfdbcab5c31d625e0c2eadd6 Mon Sep 17 00:00:00 2001
From: admin <admin@example.com>
Date: 星期四, 19 六月 2025 16:54:49 +0800
Subject: [PATCH] 添加必要的数据日志

---
 backtest/main.py |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/backtest/main.py b/backtest/main.py
new file mode 100644
index 0000000..7014362
--- /dev/null
+++ b/backtest/main.py
@@ -0,0 +1,16 @@
+"""
+鍥炴祴
+"""
+from utils import tool
+
+if __name__ == '__main__':
+    now_day = '2025-06-19'
+    # 浠庢棭涓�09:25:00鍥炴祴鍒�11:30:00
+    start_time, end_time = '09:25:00', '11:30:00'
+    for i in range(0, 60*60*3):
+        # 鏃堕棿椹卞姩
+        time_str = tool.trade_time_sub(start_time, 0 - i)
+        if time_str > end_time:
+            break
+        pass
+

--
Gitblit v1.8.0