ChillarAnand/stocktrends ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python package for stock trend analysis that can turn price data into Renko, Point and Figure, and Line Break charts.

I want it to take a pandas DataFrame or a CSV of OHLC style market data, then give back chart data I can print or use in my own code. Please include simple classes for Renko, PnF, and LineBreak, with easy settings like box size, reversal size, brick size, and the number of lines to use. It should work with common stock data columns like open, high, low, close, and be easy to demo with a sample script.

Also add a few basic tests and a short example showing how to load a CSV and generate each chart type. If you need to check current pandas usage or packaging details, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab