Skip to content

Tanererkan06/fibonacci-stock-analysis-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

📊 Fibonacci Retracement Levels with Python

This project shows how to calculate and plot Fibonacci retracement levels using Python and Matplotlib on real stock data from Yahoo Finance.

It’s beginner-friendly and perfect for learning technical analysis + data analytics together.


What Are Fibonacci Retracement Levels?

Fibonacci retracement levels are horizontal lines drawn at key percentage points between a stock's high and low price.
Traders use them to identify potential support and resistance zones, where the price may pause or reverse.

Common levels: 23.6%, 38.2%, 50%, 61.8%, 78.6%


Features

  • Download real stock data using yfinance
  • Calculate recent high and low prices
  • Compute Fibonacci retracement levels
  • Plot stock price with Fibonacci lines
  • Works with any stock ticker (AAPL, TSLA, MSFT, etc.)

Watch the step-by-step video on YouTube:

https://youtu.be/qCtS9EfT3Jc

Please support my channel, subscribe, like or comment.

Requirements

Install the required libraries:

pip install yfinance pandas matplotlib


About

# Fibonacci Retracement Levels with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 100.0%