ChillarAnand / stocktrends

A python package to calculate trends in stocks, derivates(Futures & Options) using Renko, PnF, LineBreak etc
GNU General Public License v3.0
240 stars 74 forks source link

renko.PRICE_MOVEMENT giving error #10

Open codesutras opened 4 years ago

codesutras commented 4 years ago

Hi @ChillarAnand ,

I' getting an error while accessing chart_type = PRICE_MOVEMENT

print('\n\nRenko box calcuation based on price movement') renko.chart_type = indicators.Renko.PRICE_MOVEMENT data = renko.get_ohlc_data() print(data.tail(rows))

here is the error

AttributeError: 'Renko' object has no attribute 'cdf'

ChillarAnand commented 4 years ago

Thanks @codesutras for reporting the issue.

Price movement is not yet implemented. WIll update here once it is fixed.