Skip to main content

Fetch stock data via Google Finance

Project description

Stock-Snap

Stock-Snap is a Python library for extracting real-time stock market data. It provides an easy-to-use interface for fetching stock quote details across various exchanges.

Features

  • Fetch Real-Time Data: Retrieve real-time stock quotes for any ticker symbol.

  • Multi-Exchange Support: Get stock data from multiple exchanges.

  • Easy Integration: Simple and efficient methods to integrate into your projects.

Installation

Install the package using pip:

pip install stock-snap

Fetching Stock Details

python

ticker_symbol = 'AAPL'

details = stock_snap.fetch_details(ticker_symbol)

print(details)

Example Output

The fetch_details method returns a dictionary with exchange symbols as keys and their corresponding stock quote details as values.

Requirements

  • Python 3.12

Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.

  2. Create a new branch (git checkout -b feature-branch).

  3. Make your changes and commit them (git commit -m 'Add new feature').

  4. Push to the branch (git push origin feature-branch).

  5. Create a pull request.

Demo

Youtube Tutorial

This project is licensed under the MIT License.

Contact

For any issues or questions, please open an issue on this repository.

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

stocksnap-0.1.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.

stocksnap-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file stocksnap-0.1.0.tar.gz.

File metadata

  • Download URL: stocksnap-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for stocksnap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d112faeb8eaf5b6bea9830b79099efcd55a773c0f6ab1e993631d2861426204
MD5 c03f53daee3930ba2670a51a020345e6
BLAKE2b-256 f5956df4a43a1a4eb4991ff2ce2130e1fb48e3c5847f35ba8f05f7fd9ba5e5dd

See more details on using hashes here.

File details

Details for the file stocksnap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stocksnap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for stocksnap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85f4e2ebb997165a907bc5f4f1d32b822d413f3482b20706429d0c7e5551a390
MD5 262a72e06b647ad259feca90055cdb03
BLAKE2b-256 900812d56c3820ea51737f45726bf94f205db4f1d56692ad4f373c53bef21f42

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