使用wind API查询某股票股价
作者:互联网
需求分解
- 使用wind 提供的python API接口查询某支股票的收盘价
- 使用matplotlib对收盘价进行图形展示
- 利用python word相关包生成word格式报告
part1:使用使用wind 提供的python API接口查询某支股票的收盘价
遇到的问题
- matplotlib导出的图形没有标题和坐标轴
参考1:https://blog.csdn.net/weixin_42279212/article/details/120665026
参考2:在保存时增加 bbox_inches = 'tight'参数
fig.savefig('my.png',dpi=200,bbox_inches = 'tight')
标签:inches,python,查询,tight,API,wind 来源: https://www.cnblogs.com/feel-myself/p/16295055.html