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

Bug,使用stocks接口同时查询sh000001和sz000001,返回的结果中只有sz000001 #117

Open
waqiju opened this issue Feb 22, 2022 · 1 comment

Comments

@waqiju
Copy link

waqiju commented Feb 22, 2022

RT

sh000001 是上证指数
sz000001 是平安银行

返回的结果

{'000001': {'name': '平安银行', 'code': '000001', 'now': 16.23, 'close': 16.51, 'open': 16.31, 'volume': 89495700.0, 'bid_volume': 38592800, 'ask_volume': 50902900.0, 'bid1': 16.23, 'bid1_volume': 569800, 'bid2': 16.22, 'bid2_volume': 340200, 'bid3': 16.21, 'bid3_volume': 176400, 'bid4': 16.2, 'bid4_volume': 1003400, 'bid5': 16.19, 'bid5_volume': 313800, 'ask1': 16.24, 'ask1_volume': 192400, 'ask2': 16.25, 'ask2_volume': 96200, 'ask3': 16.26, 'ask3_volume': 148400, 'ask4': 16.27, 'ask4_volume': 206600, 'ask5': 16.28, 'ask5_volume': 164700, '最近逐笔成交': '', 'datetime': datetime.datetime(2022, 2, 22, 15, 30, 3), '涨跌': -0.28, '涨跌(%)': -1.7, 'high': 16.44, 'low': 16.16, '价格/成交量(手)/成交额': '16.23/894957/1454156225', '成交量(手)': 89495700, '成交额(万)': 1454160000.0, 'turnover': 0.46, 'PE': 8.67, 'unknown': '', 'high_2': 16.44, 'low_2': 16.16, '振幅': 1.7, '流通市值': 3149.55, '总市值': 3149.58, 'PB': 0.97, '涨停价': 18.16, '跌停价': 14.86, '量比': 1.02, '委差': 15953.0, '均价': 16.25, '市盈(动)': 8.67, '市盈(静)': 8.67}}

期望的结果,应该是两个同时保留。

easy quotation 版本,0.7.5

@Rex-Du
Copy link

Rex-Du commented Aug 8, 2023

prefix=True这个参数不能少

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants