Skip to main content

A comprehensive data retrieval aimed at gathering financial information

Project description

DataFetcher

Fetcher is a Python package designed for retrieving and preprocessing financial information. It gathers historical data for specified companies. The package leverages yfinance for financial data, pandas for data manipulation, and requests for web requests.

Installation

Install Fetcher using pip:

pip install stockdatafetcher

Quick Start

To use DataFetcher, import the Fetcher class and initialize it with the ticker symbol of the company you're interested in. For example:

from datafetcher import Fetcher

# Initialize with a company ticker
df = Fetcher("AAPL")

# Fetch historical data
historical_data, actual_ticker = df.get_historical_data("AAPL")
print(historical_data)

Dependencies

Fetcher requires the following Python packages:

  • pandas
  • yfinance
  • requests

These dependencies will be automatically installed when you install Fetcher using pip.

Contributing

Contributions to DataFetcher are welcome! If you have suggestions for improvements or bug fixes, please open an issue or submit a pull request.

Reporting Issues

If you encounter any problems or have feedback, please open an issue on the project's GitHub page. Your input is valuable in making DataFetcher a better tool for everyone.

License

DataFetcher is released under the MIT License. See the LICENSE file for more details.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stockdatafetcher-0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

stockdatafetcher-0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page