Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mpquant authored Nov 30, 2021
1 parent 67375be commit 682bf4c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ print('今天5日线是否上穿10日线',RET(CROSS(MA5,MA10)))
print('最近5天收盘价全都大于10日线吗?',EVERY(CLOSE>MA10,5) )

```
### 安装方法
* 直接拷贝 MyTT.py到你的项目下 from MyTT import * 即可调用文件中的所有函数

* 传统安装 pip install MyTT
```python
from MyTT import * #安装后测试程序
S=np.random.randint(1,99,[10])
EMA(S,5)
```


### MyTT库中的部分工具函数
Expand Down

0 comments on commit 682bf4c

Please sign in to comment.