Ta-Lib 計算股市等量化指標,其中共有158種
安裝方法,小弟使用anaconda,先到anaconda 先到anaconda promot裏頭,使用下面兩個方法安裝
1. pip install Ta-Lib
(base) C:\Users\yichung>pip install ta-lib Collecting ta-lib Using cached TA-Lib-0.4.19.tar.gz (267 kB) Requirement already satisfied: numpy in c:\users\yichung\anaconda3\lib\site-packages (from ta-lib) (1.18.5) Building wheels for collected packages: ta-lib Building wheel for ta-lib (setup.py) ... error |
2. 下載whl檔案,需對應您的系統 python 的版本,64bit or 32bit, python 3.8 or 3.9,使用對應的版本,才能安裝
(base) C:\Users\yichung>pip install C:\Users\yichung\Downloads\TA_Lib-0.4.19-cp38-cp38-win_amd64.whl Processing c:\users\yichung\downloads\ta_lib-0.4.19-cp38-cp38-win_amd64.whl Installing collected packages: TA-Lib Successfully installed TA-Lib-0.4.19 |
文章標籤
全站熱搜