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.1.tar.gz (10.0 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.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stockmarketsearch-0.2.1.tar.gz
  • Upload date:
  • Size: 10.0 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.1.tar.gz
Algorithm Hash digest
SHA256 a477e72a4d4ced03d089f6a9434471dd1374538ef09ebfe041e8c798ba24aa6b
MD5 06ca2eef1b35c93bb4d19e74ce7e616a
BLAKE2b-256 28bc6de060067e0f92d5ed0bea7d39f19e59c025a4a0cc9d6a07181af629372f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stockmarketsearch-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8580ae45167ab1fb49182b6a525def01ef35d8e61867bbc33b19b4e1aef5372
MD5 069d242bb0e2a25a58e21236d20439b8
BLAKE2b-256 c48b5dce36fabff1667fac34a418a4d67ecdbb649ff12cb462926e826bb8c4d2

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