- A Python scraping program to analyze & visualize stocks using the CANSLIM method by William J.O'Neil, also includes a calculator to find entry points to add more positions to your portfolio (Pyramid Buying).
- Python:
- pandas, numpy, matplotlib
- python-fire to automatically generate command line interfaces.
- Beautiful Soup to scrap HTML data.
- Prefer video tutorial? Click here.
git clone https://github.com/KhoiUna/python-canslim.git && cd python_canslim
pip install -r requirements.txt
to install the required dependenciespython CANSLIM/main.py analyze [TICKER] [TICKER]...
to analyze stocks using the CANSLIM method.- You can run
python CANSLIM/main.py -h
orpython CANSLIM/main.py analyze -h
to learn more about available command. - The program will return -GOOD STOCKS- that fit the CANSLIM criteria.
- You can run
python Pyramid_Profit_Calculator/main.py
to start the Pyramid Buying calculator GUI.
- Data are scraped from Macrotrends