update Export Data Farmat

This commit is contained in:
2025-08-28 22:09:59 +08:00
parent debbf6e8c1
commit 41beb2ec33
4 changed files with 11 additions and 32 deletions

View File

@@ -362,7 +362,7 @@ class KLineUpdater:
# 这里可以添加具体的更新逻辑
# 例如:遍历股票代码,获取数据并保存到数据库
# 每天收盘后更新数据 -> 操作界面中,这个参数需要放出来
start_date = (datetime.now() - timedelta(days = 3 * 356)).strftime("%Y-%m-%d")
start_date = (datetime.now() - timedelta(days = 1)).strftime("%Y-%m-%d")
end_date = (datetime.now() + timedelta(days = 1)).strftime("%Y-%m-%d")
# 获取流通股数据字典