V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2021-08-03 22:59:49 +08:00 · 1225 次点击
    这是一个创建于 968 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近想实现多周期 K 线同图显示,尝试 matplotlib (繁琐,慢、效果不好)、plotly (慢)、pyqtgraph (太繁琐)

    最后发现 pyecharts 挺好使的,不过感觉用来画 k 线的人不多,但感觉 echart 应该在世界上画出的表比其他几个工具都多,应该是最好使的...
    所以用 pyecharts 走下去了,发现一个大问题 k_line 类,没法在 add_yaxis 调 k 线距离( bar 类是可以的)...感觉这种应该是可以解决的技术问题,但是没方向,不知道是继续用 pyecharts 还是用其他的库了...
    princelai
        1
    princelai  
       2021-08-04 10:08:59 +08:00
    交互的图我经常用 bokeh 画,你看看符合你要求吗。https://docs.bokeh.org/en/latest/docs/gallery/candlestick.html
    yellowtail
        2
    yellowtail  
    OP
       2021-08-04 11:16:27 +08:00
    @princelai 查了一下发现 bokeh 还挺强的 谢谢建议
    yellowtail
        3
    yellowtail  
    OP
       2021-08-06 11:46:07 +08:00
    @princelai 还是不太行,,pyecharts 画图和交互方便太多了,,
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   990 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 20:06 · PVG 04:06 · LAX 13:06 · JFK 16:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.