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.2.tar.gz (9.7 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.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stockmarketsearch-0.2.2.tar.gz
  • Upload date:
  • Size: 9.7 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.2.tar.gz
Algorithm Hash digest
SHA256 8aab18d64956a5f803febcd65d10676b542d343fa7b11ea4619a0ee558c26f7f
MD5 dffa07e3e11d8751bea44977c1493a06
BLAKE2b-256 854bc20d7f1f68bee940d10578b32ef6edaa86a6466e5ea4c2cb5af4a9c67f7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stockmarketsearch-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a4c1c26328881846ba0dc4a8a2ee55365e97f642c4332141d93fdde9a269a9
MD5 bde5b789cc99fce394a980e7dc5c1394
BLAKE2b-256 a337e6f6ffd0c9efc262b9ba90f095e398dc8a3044f407e958a1d83a756ca093

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