KhoiUna
python-canslim
Python

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:
- pandas, numpy, matplotlib - python-fire to automatically generate command line interfaces. - Beautiful Soup to scrap HTML data.

Instructions

  • 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 dependencies
  • python CANSLIM/main.py analyze [TICKER] [TICKER]... to analyze stocks using the CANSLIM method.
- You can run 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.py to start the Pyramid Buying calculator GUI.

Notes:

🔗 More in this category

© 2026 GitRepoTrend · KhoiUna/python-canslim · Updated daily from GitHub