facioquo/stock-indicators-python

error: "PeriodSize" is not defined

DaveSkender opened this issue · 3 comments

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 DaveSkender/Stock.Indicators#274 (comment)

@LeeDongGeon1996 have a moment to take look?

@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

Hi @LeeDongGeon1996 @DaveSkender
Thank you for your answers.