Skip to content

Commit

Permalink
0.9.47 update
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Apr 9, 2024
1 parent 856c425 commit 1d6d78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion czsc/connectors/cooperation.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_min_future_klines(code, sdt, edt, freq='1m'):

rows = []
for sdt_, edt_ in tqdm(zip(dates[:-1], dates[1:]), total=len(dates) - 1):
ttl = 3 if pd.to_datetime(edt_).date() == datetime.now().date() else -1
ttl = 60 if pd.to_datetime(edt_).date() == datetime.now().date() else -1
df = dc.future_klines(code=code, sdt=sdt_, edt=edt_, freq=freq, ttl=ttl)
if df.empty:
continue
Expand Down

0 comments on commit 1d6d78e

Please sign in to comment.