Skip to content

metaidme/chan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chan - 缠论技术分析工具

缠论来源于缠中说缠博客,欢迎加微信探讨,我的微信号是 zengbin93

在线体验:http://103.235.232.44:8012/

安装

Pypi上已经存在一个名为chan的库,以致于这个库没法上传到Pypi。

执行以下代码直接从github安装:

pip install git+git://github.com/zengbin93/chan.git -U

K线数据样例

        symbol        dt   open  close   high    low        vol
0    002739.SZ  20181105  31.10  31.10  31.10  31.10   17495.00
1    002739.SZ  20181106  27.99  27.99  27.99  27.99    8557.00
2    002739.SZ  20181107  25.19  25.19  25.19  25.19   13163.00
3    002739.SZ  20181108  22.67  22.67  22.67  22.67  109787.00
4    002739.SZ  20181109  20.66  22.17  23.73  20.65  896466.32
5    002739.SZ  20181112  21.19  22.42  22.57  21.01  495463.08
6    002739.SZ  20181113  22.06  23.71  24.50  21.86  497543.55
7    002739.SZ  20181114  23.61  23.35  24.25  23.15  297538.47
8    002739.SZ  20181115  23.50  23.70  23.96  23.30  197008.28
  • dt 表示 该周期的交易结束时间

使用方法

应用缠论对 K 线进行分析,并将分析结果可视化

import chan

chan.kline_viewer(ts_code='000001.SH', freq='W', end_date='20190809', asset='I', show=True)

About

缠论技术分析工具

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%