ChillarAnand / stocktrends

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

linebreak stock price #19

Open pashafsk opened 3 years ago

pashafsk commented 3 years ago

When the stock price changes from two digit to 3 or one to two digit the linebreak logic breaks shows incorrect values. Example stock fuv and amd

ChillarAnand commented 3 years ago

@pashafsk Thanks for reporting the issue. Can you please share a sample csv and line break config you have used?

pashafsk commented 3 years ago

input.csv output.csv

Please find the input and output files for Linebreak for AMD with linenumber set to 3

ChillarAnand commented 3 years ago

Can you please share your code snippet that is generating this output?

When I try to generate LB chart, here is the output. https://gist.github.com/ChillarAnand/7df69c15ff5be7b04326c14a1ba53941