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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stockmarketsearch-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a5f9e234c5e0697f126357388214ecade039cf05933ec103e6b99e4a241f0292
MD5 ba0ac8125814766ee5e44a9c149a7dde
BLAKE2b-256 7da9b17964859ac1d23ee8fedb95880f537f6dbbb5e0fcb0578347115c5fad22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stockmarketsearch-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ffe3fa64e0289fbea3fb88326425998ae19714e6e0a49942c6246310d1c4001
MD5 fe56faca4ad02658440dccd4d6009d0c
BLAKE2b-256 8314edefab25ba2a7b970c765c0f55087385e024b273501d5bec0bb1ba5bf536

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