![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
lrobinson
这个作者很懒,什么都没留下…
展开
-
从指定日期开始自动加1天,跳过周六和周日
从指定日期开始自动加1天,跳过周六和周日from datetime import datefrom datetime import datetime as dtimerunDate = date(2020,12,5)while True: while runDate.strftime("%w") == '0' or runDate.strftime("%w") == '6': #跳过周六和周日 runDate = runDate + datetime.timedelt原创 2021-01-06 11:42:12 · 1745 阅读 · 0 评论 -
pyecharts显示K线、均线、成交量和MACD
安装 Ta-lib: pip install Ta-lib安装pyecharts: pip install pyecharts npm install -g phantomjs-prebuilt安装图片保存插件: pip install pyecharts-snapshotimport pandas as pdimport numpy as npimport talib as tafrom pyecharts.charts import Kl...原创 2020-12-27 14:31:34 · 6175 阅读 · 3 评论