See the API documentation, the ATR function only requires two parameters. TA.ATR ((data, period), I call this function according to the requirements of the API and it returns an error TypeError: ATR (() takes at least 3 positional arguments (2 given) ; please ask how this problem should be solved?