Skip to content

Commit

Permalink
BUG jma fix
Browse files Browse the repository at this point in the history
  • Loading branch information
twopirllc committed Jul 26, 2021
1 parent cefa083 commit a3bdc6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $ pip install pandas_ta

Latest Version
--------------
Best choice! Version: *0.3.11b*
Best choice! Version: *0.3.12b*
* Includes all fixes and updates between **pypi** and what is covered in this README.
```sh
$ pip install -U git+https://github.com/twopirllc/pandas-ta
Expand Down
2 changes: 1 addition & 1 deletion pandas_ta/overlap/jma.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def jma(close, length=None, phase=None, offset=None, **kwargs):
pow1 = max(length1 - 2.0, 0.5)
length2 = length1 * npSqrt(length)
bet = length2 / (length2 + 1)
beta = 0.45 * (length - 1) / (0.45 * (length - 1) + 2.0)
beta = 0.45 * (_length - 1) / (0.45 * (_length - 1) + 2.0)

m = close.shape[0]
for i in range(1, m):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"pandas_ta.volatility",
"pandas_ta.volume"
],
version=".".join(("0", "3", "11b")),
version=".".join(("0", "3", "12b")),
description=long_description,
long_description=long_description,
author="Kevin Johnson",
Expand Down

0 comments on commit a3bdc6c

Please sign in to comment.