使用的是这个接口,但是获取的财务数据还是不全。
代码:
raw_data = xtdata.get_financial_data(
["301269.SZ"],
table_list=["income"],
start_time="",
end_time="",
report_type="report_time",
)
print(raw_data)
输出:
{'301269.SZ': {'income': m_timetag m_anntime revenue_inc ... actual_ann_dt operating_revenue cost_of_goods_sold
0 20250930 20251030 8.047748e+08 ... 0.0 0.0 0.0
1 20251231 20260428 1.324977e+09 ... 0.0 0.0 0.0
2 20260331 20260428 2.569326e+08 ... 0.0 0.0 0.0
[3 rows x 84 columns]}}
比如这个华大九天的,22-25年的财报都不全 |