Skip to content

Akhilesh-yadav680/Real-Time-Bitcoin-Price-Tracker-using-Python-Yahoo-Finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪙 Real-Time Bitcoin Price & Volume Tracker 📊

This Python project fetches and visualizes real-time Bitcoin (BTC-USD) price and volume data using the yfinance API. It provides a clear visual representation of Bitcoin's 1-minute interval price trends and trading volumes, ideal for analysts, crypto enthusiasts, and developers exploring financial data visualization.


🔍 Features

  • ✅ Fetches real-time BTC-USD data (1-minute interval) from Yahoo Finance
  • ✅ Displays current Bitcoin price with timestamp
  • ✅ Prints the latest Open, High, Low, Close, Volume data
  • ✅ Generates:
    • 📈 Line chart of closing prices
    • 📊 Bar chart of trading volume
  • ✅ Auto-cleans data (removes nulls, formats timestamps)
  • ✅ Custom matplotlib x-axis formatting (HH:MM view)
  • ✅ Ready to run in VS Code or terminal

🛠️ Technologies Used

  • Python 3.7+
  • yfinance – for fetching BTC-USD data
  • pandas – for data manipulation
  • matplotlib – for plotting
  • datetime – for formatting timestamps
  • warnings – for suppressing irrelevant warnings

Install dependencies pip install -r requirements.txt python bitcoin_tracker.py

real-time-bitcoin-tracker/ ├── bitcoin_tracker.py # Main Python script ├── README.md # Project overview ├── requirements.txt # Python dependencies ├── .gitignore # Git ignored files ├── LICENSE # MIT License └── screenshot/ └── sample.png # Screenshot of running tracker

📄 License This project is licensed under the MIT License - free to use and modify.

🤝 Contributing Contributions are welcome! Open an issue or submit a pull request with improvements or new features.

🙋‍♂️ Author Akhilesh Yadav 📍 Data Science Student | Python Developer 📫 GitHub: @Akhilesh-yadav680

🌐 Useful Links Yahoo Finance - https://finance.yahoo.com/quote/BTC-USD/

https://matplotlib.org/stable/index.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages