安装
使用pip安装 PyPI:
$ pip install TA-Lib
Or checkout the sources and run setup.py
yourself:
$ python setup.py install
如果安装发生错误
func.c:256:28: fatal error: ta-lib/ta_libc.h: No such file or directory
compilation terminated.
如果你遇到这样的编译错误,它通常意味着它找不到底层的库,需要安装:
Dependencies 依赖库文件
使用Python的TA库ÿ