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.
Metadata
Release files for stocksnap 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stocksnap-0.1.1.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stocksnap-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / stocksnap-0.1.1.tar.gz
| Download URL | stocksnap-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7039def56524dfdd10b7ac57eeeb0c47a350b73d439d73c2d82180686204da01
|
|
BLAKE2b-256 checksum How to use checksums |
967549b8815e21f77b32f64ade67281daa0b037b182def82f6d1ea675df7806f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / stocksnap-0.1.1-py3-none-any.whl
| Download URL | stocksnap-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0d3e2f6e81d639e789f651749cfc1b3e14440c63a6f7029c70a13d768666c09
|
|
BLAKE2b-256 checksum How to use checksums |
78aa0aec5710ab9c35deb3ee7d251ec227a047c85d61fa59e0dbb9c197b6aa6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|