简化行情数据页面,修复同步数据无法补全历史的问题
This commit is contained in:
@@ -31,8 +31,6 @@ def fetch_contract_bars(contract_code: str, start_date: str | None = None) -> li
|
||||
else:
|
||||
d = date.fromisoformat(str(val)[:10])
|
||||
|
||||
if start_date and d <= date.fromisoformat(start_date):
|
||||
continue
|
||||
|
||||
bars.append({
|
||||
"date": d,
|
||||
|
||||
Reference in New Issue
Block a user