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
ticker_symbol = 'AAPL'
details = stock_snap.fetch_details(ticker_symbol)
print(details)
ticker_symbol = 'GOOGL'
exchange_symbol = 'NASDAQ'
details = stock_snap.fetch_details_by_exchange(ticker_symbol, exchange_symbol)
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:
-
Fork the repository.
-
Create a new branch (
git checkout -b feature-branch). -
Make your changes and commit them (
git commit -m 'Add new feature'). -
Push to the branch (
git push origin feature-branch). -
Create a pull request.
Demo
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stocksnap-0.1.1.tar.gz.
File metadata
- Download URL: stocksnap-0.1.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7039def56524dfdd10b7ac57eeeb0c47a350b73d439d73c2d82180686204da01
|
|
| MD5 |
38f161d40b2bdb02424a5c6a115bb6a7
|
|
| BLAKE2b-256 |
967549b8815e21f77b32f64ade67281daa0b037b182def82f6d1ea675df7806f
|
File details
Details for the file stocksnap-0.1.1-py3-none-any.whl.
File metadata
- Download URL: stocksnap-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d3e2f6e81d639e789f651749cfc1b3e14440c63a6f7029c70a13d768666c09
|
|
| MD5 |
2a2058c9ee94ddbc09ce1dd88f317412
|
|
| BLAKE2b-256 |
78aa0aec5710ab9c35deb3ee7d251ec227a047c85d61fa59e0dbb9c197b6aa6c
|