Skip to content

EMA() takes at most 2 positional arguments (3 given) #29

@lyonLeeLPL

Description

@lyonLeeLPL

提 ISSUE 须知

EMA() takes at most 2 positional arguments (3 given)

如果是 bug 反馈,烦请在 issue 中描述以下问题:

1. funcat 的版本

funcat==0.3.2

2. Python 的版本

3.6

3. 是 Windows / Linux / MacOS or others?

windows

4. 您出现问题对应的源码 / 或者能复现问题的简易代码

close_data = NumericSeries([1,2,3])
EMA (close_data,3)

5. 您出现的错误堆栈日志信息

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\ProgramData\Anaconda3\lib\site-packages\funcat-0.3.2-py3.6.egg\funcat\func.py", line 31, in init
series = self.func(series, arg)
File "C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\talib_init_.py", line 24, in wrapper
return func(*args, **kwargs)
File "_func.pxi", line 7053, in talib._ta_lib.EMA
TypeError: EMA() takes at most 2 positional arguments (3 given)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions