提交 644dc87c 编写于 作者: Z zengbin93

新增 examples

上级 5120a52a
...@@ -55,6 +55,8 @@ ka.zs ...@@ -55,6 +55,8 @@ ka.zs
py 文件地址: examples/combine_with_tushare.py py 文件地址: examples/combine_with_tushare.py
没有 token,到 https://tushare.pro/register?reg=7 注册下
```python ```python
import tushare as ts import tushare as ts
from datetime import datetime, timedelta from datetime import datetime, timedelta
......
# coding: utf-8 # coding: utf-8
""" """
结合掘金的数据使用 chan 进行缠论技术分析 结合 tushare.pro 的数据使用 chan 进行缠论技术分析
author: zengbin93 author: zengbin93
email: zeng_bin8888@163.com email: zeng_bin8888@163.com
...@@ -13,6 +13,7 @@ from datetime import datetime, timedelta ...@@ -13,6 +13,7 @@ from datetime import datetime, timedelta
from chan import KlineAnalyze, SolidAnalyze from chan import KlineAnalyze, SolidAnalyze
# 首次使用,需要在这里设置你的 tushare token,用于获取数据;在同一台机器上,tushare token 只需要设置一次 # 首次使用,需要在这里设置你的 tushare token,用于获取数据;在同一台机器上,tushare token 只需要设置一次
# 没有 token,到 https://tushare.pro/register?reg=7 注册下
# ts.set_token("your tushare token") # ts.set_token("your tushare token")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册