python - 使用 mplfinance python 构建图表
问题描述
我找到了这个 mplfinance 库,它似乎是我需要的,但我不确定我是否可以按照我想要的方式进行定制。在我花几个小时研究这个图书馆之前,我只想确保我能做到。如果有人能给我举个例子,那将对我有很大帮助!
解决方案
You should be able to do something like that chart with mplfinance. I do recommend that you set aside one full hour of your time to go through the documentation. In particular, I recommend you focus, in this order, on the following:
The third item above has two parts. The styles tutorial will show you how you can get the colors you want, where you want them. And the individual plot customizations tutorial has a section that mentions fill_between
which you can use to accomplish the two-color plot face that you have drawn above.
If you have additional questions you can post them here (or under the issues section of the mplfinance repository).
full disclosure: I am the maintainer of the mplfinance package.
推荐阅读
- javascript - 如何访问和循环 React 中的嵌套 JSON 项?
- android - 为什么我的
从导航菜单返回片段后字段为空? - checkbox - QToolbar中的复选框
- javascript - javascript中chainig函数时如何避免冗余?
- php - 显示自定义 Gutenberg 块的预览图像
- angular - Angular ngOnChanges detectChanges 在更新嵌套数据绑定之前发生
- swift - 如何将添加的 gif 图像保存到相机胶卷?
- amazon-web-services - 使用 DMS CDC 触发
- amazon-web-services - AWS Cost Explorer API 未获取所有数据 - NextPageToken 可能的问题?
- c++ - 如何在队列的链表实现中找到最小元素的前任?