Skip to content

Commit

Permalink
0.9.62 fix Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Dec 31, 2024
1 parent 844287f commit 63641a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_kline_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

def test_check_zero_volume():
df = read_daily()
df = pd.DataFrame([bar.__dict__ for bar in df])
df["vol"] = df["vol"].astype(int)
# 执行数据质量检查
df = df[["symbol", "dt", "open", "close", "high", "low", "vol", "amount"]]
issues = check_kline_quality(df)

# 输出检查结果

0 comments on commit 63641a8

Please sign in to comment.