A Python program to analyze & visualize stocks using the CANSLIM method by William J.O'Neil including a calculator to find entry points to add more positions to your portfolio (Pyramid Buying).
Last updated Jun 1, 2026
35
Stars
23
Forks
1
Issues
0
Stars/day
Attention Score
28
Language breakdown
Python 100.0%
▸ Files
click to expand
README
NOTE: Macrotrends has blocked automated access!
Introduction
- 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).
Tech stack
- Python:
Instructions
- Prefer video tutorial? Click here.
git clone https://github.com/KhoiUna/python-canslim.git && cd python_canslimpip install -r requirements.txtto install the required dependenciespython CANSLIM/main.py analyze [TICKER] [TICKER]...to analyze stocks using the CANSLIM method.
python CANSLIM/main.py -h or python CANSLIM/main.py analyze -h to learn more about available command.
- The program will return -GOOD STOCKS- that fit the CANSLIM criteria.
python PyramidProfitCalculator/main.pyto start the Pyramid Buying calculator GUI.
Notes:
- Data are scraped from Macrotrends
🔗 More in this category