我想用python在烛台图上绘制体积剖面图,这会导致这样的结果。在
我的主要ohlc数据将在pandas数据框中。在
Date, Open, High, Low, Close
2019-10-18, 54.09, 54.62, 53.35, 53.78
2019-10-17, 52.99, 54.16, 52.62, 53.93
2019-10-16, 52.92, 53.74, 52.51, 53.36
那么我的卷信息就会在另一个类似这样的数据帧中。在
^{pr2}$我在我知道的每一个图书馆里都试过了,Matplotlib,Plotly,Bokeh。我试着简单地在烛台旁画一个条形图,但比例通常是关闭的。我对使用python中的任何标准图表库都感兴趣,这些库可以以相当简单的方式生成这个结果。希望这里有人知道一些方法。在
好吧,我决定深入研究这些精心编制的文档,看看能不能找到一种方法。结果没什么大不了的。我开始越来越喜欢情节化了。在
我不知道公开发布股票数据的法律是什么,所以我构建了一个简单的生成器来生成OHLC数据和成交量。真实的股票数据会让图表看起来不那么混乱。在
我还没弄清楚的是酒吧的那一面。目前他们在左边,但最好能在右边。不过应该很简单。在
好吧,希望这对某人有所帮助。祝你有美好的一天!在
相关问题 更多 >
编程相关推荐