DineshMv/CPR-based-Stock-Screener-in-Python ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python stock screener that uses Central Pivot Range to analyze stocks and spot ones that might move a lot the next day, week, or month.
It should pull historical stock data, calculate the CPR levels, support and resistance, then identify narrow CPR setups and list those stocks in a simple output file or screen view. I also want a backtesting mode that compares how narrow CPR days performed versus normal days, and shows basic success and fail results. If possible, add a few charts so I can visually inspect the price action and CPR levels.
There should also be an email alert feature that sends me the filtered stock list automatically. Keep the settings in a separate local config file for secret email details. Use the existing project idea and make it easy to run from one main script. If you need current docs for any library, look them up online while building it.
Are you gonna build this?
make sure you review the code using coderabbit