Skip to content

Commit

Permalink
Merge branch 'master' of gitee.com:fasiondog/hikyuu
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Mar 5, 2024
2 parents a984b64 + 92b6b1a commit 568f756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hikyuu/data/tdx_to_h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def tdx_import_day_data_from_file(connect, filename, h5file, market, stock_recor
cur = connect.cursor()
cur.execute(
"update stock set valid=1, startdate=%i, enddate=%i where stockid=%i" %
(table[0]['datetime'], 99999999, stockid)
(table[0]['datetime']//10000, 99999999, stockid)
)
connect.commit()
cur.close()
Expand Down

0 comments on commit 568f756

Please sign in to comment.