Skip to main content

A package for searching stock information across multiple sources.

Project description

Stock Market Search

This project provides a set of tools for searching and retrieving stock information from various online sources, including African Markets, NG Investing, and Yahoo Finance. It utilizes asynchronous programming to efficiently gather data from multiple sources concurrently.

Features

  • Asynchronous search functionality for stock information.
  • Fetch historical stock data for specified date ranges.
  • Support for multiple data sources.

Installation

To install the package, you can use pip:

pip install stockmarketsearch

Usage

Here's a simple example of how to use the stockmarketsearch package:

import asyncio
from stockmarketsearch.main import search, get_stock_data

async def main():
    # Search for stock information
    results = await search("AAPL")
    print(results)

    # Get historical stock data
    url = results[0]['url']
    historical_data = await get_stock_data(url, "2023-01-01", "2023-12-31")
    print(historical_data)

asyncio.run(main())

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

stockmarketsearch-0.2.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

stockmarketsearch-0.2.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file stockmarketsearch-0.2.0.tar.gz.

File metadata

  • Download URL: stockmarketsearch-0.2.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for stockmarketsearch-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4f581b977350640f22330d43724c7fc4e5f7de2fdbd5dfde9c5b028727a8cca8
MD5 c3de8af9dc6eee4939c00b5f114600a5
BLAKE2b-256 24f27b616b75e544a6460cc90813b21e5bec3cf79e4716673f624ebdac42ec02

See more details on using hashes here.

File details

Details for the file stockmarketsearch-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stockmarketsearch-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1557d5595cf58ea9073a203bdcbdd6b767be03ccf5fcc0d7d0a683283d8f25bf
MD5 f12c71449e6771bf3b2dec736647739a
BLAKE2b-256 5488a2fe187509e7769e867026aac0507cc5e6e61c6cab2900acae2273e877f7

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