File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v0.4.8(2022-06-30)
4+
5+ ### Fixed
6+
7+ - 修复 ` stock ` 模块的 ` get_base_info ` 函数的 bug
8+
39## v0.4.7(2022-06-24)
410
5- ## Added
11+ ### Added
612
713- 添加获取近 n 日 1 分钟 K 线的功能
814
9- ## Fixed
15+ ### Fixed
1016
1117- 修复部分函数命名拼写错误
1218
Original file line number Diff line number Diff line change 11__title__ = 'efinance'
2- __version__ = '0.4.7 '
2+ __version__ = '0.4.8 '
33__author__ = 'micro sheep'
44__url__ = 'https://github.com/Micro-sheep/efinance'
55__author_email__ = 'micro-sheep@outlook.com'
Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ def get_base_info_single(stock_code: str) -> pd.Series:
5454 secid = get_quote_id (stock_code )
5555 if not secid :
5656 return pd .Series (index = EASTMONEY_STOCK_BASE_INFO_FIELDS .values (), dtype = 'object' )
57- return get_base_info_for_stock (secid )
57+ return get_base_info_for_stock (secid ).rename (index = {
58+ '代码' : '股票代码' ,
59+ '名称' : '股票名称'
60+ })
5861
5962
6063def get_base_info_muliti (stock_codes : List [str ]) -> pd .DataFrame :
You can’t perform that action at this time.
0 commit comments