1nchaos / adata

免费开源A股量化数据库; 专注A股,专注量化,向阳而生; 开放、纯净、持续、为Ai(爱)发电。为个人量化交易而生,保卫3000(2500)点,珍惜底部机会......【股票数据,股票行情数据,股票量化数据,股票交易数据,k线行情数据,股票概念数据,股票数据接口,行情数据接口】【多数据源融合,动态设置代理,保障数据高可用性】
https://adata.30006124.xyz
Apache License 2.0
858 stars 120 forks source link

000003 的数据没有获取到 #65

Closed yxm0513 closed 4 months ago

yxm0513 commented 4 months ago

~ cat a.py import adata

res_df = adata.stock.market.get_market(stock_code='000003', k_type=1) print(res_df) ~ python3 a.py Empty DataFrame Columns: [trade_time, open, close, volume, high, low, amount, change, change_pct, turnover_ratio, pre_close] Index: []

MacOS

yxm0513 commented 4 months ago

还有不少其他的

2024-04-25 22:21:50,178 MainThread:2/5718: get data of 000003 num: 0 2024-04-25 22:21:50,919 MainThread:4/5718: get data of 000005 num: 0 2024-04-25 22:21:53,586 MainThread:12/5718: get data of 000013 num: 0 2024-04-25 22:21:54,154 MainThread:14/5718: get data of 000015 num: 0 2024-04-25 22:21:55,093 MainThread:17/5718: get data of 000018 num: 0 2024-04-25 22:21:56,978 MainThread:22/5718: get data of 000024 num: 0 2024-04-25 22:21:59,696 MainThread:31/5718: get data of 000033 num: 0 2024-04-25 22:22:01,317 MainThread:36/5718: get data of 000038 num: 0 2024-04-25 22:22:03,125 MainThread:41/5718: get data of 000046 num: 0 2024-04-25 22:22:03,430 MainThread:42/5718: get data of 000047 num: 0 2024-04-25 22:22:10,829 MainThread:66/5718: get data of 000150 num: 0 2024-04-25 22:22:16,632 MainThread:83/5718: get data of 000405 num: 0 2024-04-25 22:22:16,931 MainThread:84/5718: get data of 000406 num: 0 2024-04-25 22:22:20,290 MainThread:90/5718: get data of 000412 num: 0 2024-04-25 22:22:21,212 MainThread:93/5718: get data of 000416 num: 0 2024-04-25 22:22:21,993 MainThread:95/5718: get data of 000418 num: 0 2024-04-25 22:22:27,311 MainThread:109/5718: get data of 000502 num: 0 2024-04-25 22:22:29,164 MainThread:115/5718: get data of 000508 num: 0 2024-04-25 22:22:30,033 MainThread:118/5718: get data of 000511 num: 0 2024-04-25 22:22:30,920 MainThread:121/5718: get data of 000515 num: 0 2024-04-25 22:22:33,106 MainThread:128/5718: get data of 000522 num: 0 2024-04-25 22:22:34,793 MainThread:133/5718: get data of 000527 num: 0 2024-04-25 22:22:37,189 MainThread:141/5718: get data of 000535 num: 0 2024-04-25 22:22:38,828 MainThread:146/5718: get data of 000540 num: 0 2024-04-25 22:22:39,407 MainThread:148/5718: get data of 000542 num: 0 2024-04-25 22:22:41,752 MainThread:155/5718: get data of 000549 num: 0

1nchaos commented 4 months ago

我看这些代码不是a股的代码呢

yxm0513 commented 4 months ago

是A股的吧,我拿res_df = adata.stock.info.all_code() 获取的

好像是债券

yxm0513 commented 4 months ago

res_df = adata.stock.info.all_code() 里有排除债券的方法吗?

1nchaos commented 4 months ago

数据都是a股的代码,没有行情的都是退市了,源网站已经没有收录之前的行情数据啦