Skip to content

通达信缺失历史行情数据 2 #1872

@wgui1

Description

@wgui1

所有的通达信板块行情数据都缺失20250810到20250915之间的数据

导入tushare

import tushare as ts

初始化pro接口

pro = ts.pro_api('5c64fdc7b2747529bf1a55876f998a016226487f5e9b112f4795f951')

拉取数据

df = pro.tdx_daily(**{
"ts_code": "880301.TDX",
"trade_date": "",
"start_date": 20250810,
"end_date": 20250915,
"limit": 1000,
"offset": ""
}, fields=[
"ts_code",
"trade_date",
"close",
"open",
"high",
"low",
"pre_close"
])

880301.TDX 20250915 1539.59 1522.24 1540.6 1519.15 1522.04 17.55 1.15 10778251 922054.25 0.01 1.41 1.07 1.41     0 0 1 1.14 0.65 0.72 -1.93 4.96 1.39 -5.07 5.87 14.11 1.24 13841.07 14231.29 1009.63 1091.31        
880301.TDX 20250912 1522.04 1528.02 1536.77 1518.98 1527.9 -5.86 -0.38 8836098 785036.85 -0.01 1.19 0.88 1.16     0 0 -1 -0.55 -0.34 0.23 -1.84 5.52 0.23 -6.15 6.31 14.17 1.24 13894.39 14283.82 1009.63 1091.31        
880301.TDX 20250911 1527.9 1524.57 1528.52 1514.85 1522.32 5.58 0.37 6890653 575208.76 0.01 0.91 0.68 0.9     0 0 1 -0.12 0.71 0.05 -1.09 6.21 0.62 -5.79 4.76 14.12 1.24 13843.63 14230.9 1009.63 1091.31        
880301.TDX 20250811 1555.34 1563.7 1565.67 1553.49 1560.96 -5.62 -0.36 7548960

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions