V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
yellowtail
V2EX  ›  Python

程序交易画 K 线用啥简单好使?

  •  
  •   yellowtail · Aug 3, 2021 · 2069 views
    This topic created in 1731 days ago, the information mentioned may be changed or developed.
    最近想实现多周期 K 线同图显示,尝试 matplotlib (繁琐,慢、效果不好)、plotly (慢)、pyqtgraph (太繁琐)

    最后发现 pyecharts 挺好使的,不过感觉用来画 k 线的人不多,但感觉 echart 应该在世界上画出的表比其他几个工具都多,应该是最好使的...
    所以用 pyecharts 走下去了,发现一个大问题 k_line 类,没法在 add_yaxis 调 k 线距离( bar 类是可以的)...感觉这种应该是可以解决的技术问题,但是没方向,不知道是继续用 pyecharts 还是用其他的库了...
    princelai
        1
    princelai  
       Aug 4, 2021
    交互的图我经常用 bokeh 画,你看看符合你要求吗。https://docs.bokeh.org/en/latest/docs/gallery/candlestick.html
    yellowtail
        2
    yellowtail  
    OP
       Aug 4, 2021
    @princelai 查了一下发现 bokeh 还挺强的 谢谢建议
    yellowtail
        3
    yellowtail  
    OP
       Aug 6, 2021
    @princelai 还是不太行,,pyecharts 画图和交互方便太多了,,
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   810 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:02 · PVG 05:02 · LAX 14:02 · JFK 17:02
    ♥ Do have faith in what you're doing.