facioquo / stock-indicators-python

Stock Indicators for Python. Maintained by @LeeDongGeon1996
https://python.StockIndicators.dev
Apache License 2.0
220 stars 37 forks source link

error: "PeriodSize" is not defined #244

Closed DaveSkender closed 2 years ago

DaveSkender commented 2 years ago

I wrote the pivot points code with python in vscode but vscode had some error in indicator parameter defining. p1

What's my mistake?

Originally posted by @Gadirino in https://github.com/DaveSkender/Stock.Indicators/discussions/274#discussioncomment-3364313

DaveSkender commented 2 years ago

@LeeDongGeon1996 have a moment to take look?

LeeDongGeon1996 commented 2 years ago

@Gadirino Hi, thank you for reporting it. I think it needs to be updated for better UX. In your case, this would be the solution. :)

from stock_indicators.indicators.common.enums import PeriodSize, PivotPointType
Gadirino commented 2 years ago

Hi @LeeDongGeon1996 @DaveSkender Thank you for your answers.