Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.
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.
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)
The fetch_details
method returns a dictionary with exchange symbols as keys and their corresponding stock quote details as values.
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.
This project is licensed under the MIT License.
For any issues or questions, please open an issue on this repository.
FAQs
Fetch stock data via Google Finance
We found that stocksnap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.