TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.46k stars 1.74k forks source link

Allow MA defaults other than SMA #544

Closed trufanov-nok closed 1 year ago

trufanov-nok commented 1 year ago

In fact, currently there is no MA indicators in TA-Lib which use optInMAType argument defaults other than SMA(0), but I would like to add a support for such indicators, bcs I was going to add one for myself. I hardcoded "matype" bcs default_arg contains "mAType".

mrjbq7 commented 1 year ago

Okay, I made a patch in dae5f6d60eb55928961eb7187826da8f6b86d354.

Thanks!!