Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATR - ValueError: The truth value of a Series is ambiguous. #297

Open
EIGdataHunter opened this issue May 18, 2022 · 0 comments
Open

ATR - ValueError: The truth value of a Series is ambiguous. #297

EIGdataHunter opened this issue May 18, 2022 · 0 comments

Comments

@EIGdataHunter
Copy link

Hi
I've got
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
when tried to get ATR using ta.volatility.average_true_range(h, l, c, 2, False).

I managed to get this indicator several times before during the last half a year, but when I tried to run it yesterday I got an error.
Tell me what direction to look to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant