We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
调用可转债行情接口cb_daily时,如果传入TS代码ts_code,返回的可转债价格数据仅精确到小数点后两位。相比现实中的可转债价格数据都是精确到小数点后三位,Tushare的数据精准度就不够了。
举例: df1 = pro.cb_daily(ts_code='110063.SH') df1[['close', 'open', 'high', 'low']]
另外,如果不传入TS代码ts_code,只传入trade_date参数,返回的数据好像没问题。 df2 = pro.cb_daily(trade_date='20190719') df2[['close', 'open', 'high', 'low']]
The text was updated successfully, but these errors were encountered:
已修复,非常感谢!
Sorry, something went wrong.
No branches or pull requests
调用可转债行情接口cb_daily时,如果传入TS代码ts_code,返回的可转债价格数据仅精确到小数点后两位。相比现实中的可转债价格数据都是精确到小数点后三位,Tushare的数据精准度就不够了。
举例:
df1 = pro.cb_daily(ts_code='110063.SH')
df1[['close', 'open', 'high', 'low']]
另外,如果不传入TS代码ts_code,只传入trade_date参数,返回的数据好像没问题。
df2 = pro.cb_daily(trade_date='20190719')
df2[['close', 'open', 'high', 'low']]
The text was updated successfully, but these errors were encountered: