mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 18:04:20 +08:00
fix: route index files to get_index_bars() in sync-daily/sync-all
Root cause: _fetch_all_daily_bars used get_security_bars() for all files, but index server responses have 4 extra bytes per record. Wrong parser produced garbage dates like '12897-50-77' for sh000001, sh000300, etc. Fix: add _is_index_code() to detect index codes by prefix (sh: 00/88/99, sz: 39) and route to get_index_bars() accordingly. Bumps version to 1.6.1.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "easy-tdx"
|
||||
version = "1.6.0"
|
||||
version = "1.6.1"
|
||||
description = "通达信 TCP 协议行情数据客户端,支持在线行情、离线数据读取与写入同步"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
|
||||
Reference in New Issue
Block a user