Skip to main content

Fast Google Finance scraper for stocks, forex, crypto with pandas output

Project description

📈 Google Finance Scraper

A fast, lightweight, and educational Python package to fetch stock market data and news from Google Finance, returning clean and ready-to-use pandas DataFrames.

This project is built mainly for learning, analysis, and educational purposes, while also being useful for dashboards, research, and personal market tools.


✨ Key Features

  • 📊 Fetch live stock data (price, change, high/low, volume, etc.)
  • 📰 Fetch latest stock-related news
  • 🌍 Supports Indian, US, Forex, and Crypto markets
  • 🔁 Separate functions for stock data and news
  • ⚡ Async-based for better performance
  • 🧠 Clean pandas DataFrame output
  • 🧪 Ideal for students, beginners, and developers learning market data analysis

🚀 Installation

Install the package directly using pip:

pip install google-finance-scraper

🧠 Symbol Format (Very Important)

Google Finance uses the following symbol format:

SYMBOL:EXCHANGE    // TCS:NSE , AAPL:NASDAQ

📊 Fetch Stock Data

✅ Syntax

import asyncio
from google_finance_scraper import get_stock_data

stock_df = asyncio.run(get_stock_data("SYMBOL:EXCHANGE"))
print(stock_df)

📰 Fetch Stock News

✅ Syntax

import asyncio
from google_finance_scraper import get_stock_news

news_df = asyncio.run(get_stock_news("SYMBOL:EXCHANGE"))
print(news_df)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_finance_scraper-1.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_finance_scraper-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file google_finance_scraper-1.0.0.tar.gz.

File metadata

  • Download URL: google_finance_scraper-1.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for google_finance_scraper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b5ccab2e392a88237da07f792007963c7e5f7af4fa539df3f5c4ee0fb4ab498a
MD5 bee7a4c2766dc6d2a837d380f2108ba3
BLAKE2b-256 bd81803217589aa4b2e96a5a456d196a56a7ee3ca088193435f7b806aa3804f5

See more details on using hashes here.

File details

Details for the file google_finance_scraper-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for google_finance_scraper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8d186a16f99e53816a0e145e25b376a3fce735f4d7e0e774a45c4ee8c74709
MD5 4563cd5a3c4fd2a7618212da961d62f9
BLAKE2b-256 77bafbb8e81a9cb012fe2efb68e80d5b94255314913fc2a422330e0f07058378

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page