Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

000003 的数据没有获取到 #65

Closed
yxm0513 opened this issue Apr 25, 2024 · 5 comments
Closed

000003 的数据没有获取到 #65

yxm0513 opened this issue Apr 25, 2024 · 5 comments
Labels
question Further information is requested

Comments

@yxm0513
Copy link

yxm0513 commented Apr 25, 2024

~ 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
Copy link
Author

yxm0513 commented Apr 25, 2024

还有不少其他的

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
Copy link
Owner

1nchaos commented Apr 25, 2024

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

@yxm0513
Copy link
Author

yxm0513 commented Apr 25, 2024

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

好像是债券

@1nchaos 1nchaos added the question Further information is requested label Apr 25, 2024
@yxm0513
Copy link
Author

yxm0513 commented Apr 26, 2024

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

@1nchaos
Copy link
Owner

1nchaos commented May 5, 2024

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

@1nchaos 1nchaos closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants