Skip to content

Why do I get AttributeError: 'mom.MOM' object has no attribute 'period' when implementing an indicator just like EfficiencyRatio? #2768

Closed Answered by daydayup789
daydayup789 asked this question in Q&A
Discussion options

You must be logged in to vote

I asked ChatGPT about the project's build.py, and I discovered that the .pxd file plays a critical role in type binding. Initially, ChatGPT said that .pxd and .pyi files are only for providing type hint support to Pylance.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by daydayup789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant