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.3.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.3-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stockmarketsearch-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 72b768a5d2caa07b2ecb47aa237a223253cbbde95e586a0cc7ad3506d2b21bb1
MD5 ab207609abf2bcd81e49efd1d009448b
BLAKE2b-256 606eaeafb748691afaa99b32c7f496d11d36569daeac047f6d0d53e1b19505ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stockmarketsearch-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e9ead0c7b8e2b8b46d4fa8e3b5208e0885d6a075cbe78cc9f7bcc72008d3618
MD5 2d92337da9fb49e17b70a89fdcb9ea3a
BLAKE2b-256 d594ebb1a0ea0595c9276f50c9a6c7a02c0b4b9dc07daf538dfb561b813a6418

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