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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stockdatafetcher-0.1.tar.gz
.
File metadata
- Download URL: stockdatafetcher-0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b513d17c2fbebd7b88c81a735bf3353342de26b622e03ecfafe6c51ea3713736 |
|
MD5 | 9be94dfa5ac1d94b89b09257a6e23cb4 |
|
BLAKE2b-256 | df4a3714a862ae39bb04881bcc1b8b318a1746cc933c9ebbef402a191b1e7f56 |
File details
Details for the file stockdatafetcher-0.1-py3-none-any.whl
.
File metadata
- Download URL: stockdatafetcher-0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8578964c08054769f51258b803d2c5d43b8ff2bd4c5632038c4139cd8592607b |
|
MD5 | 78980d28dbbc4815f77beaf7fe2010c9 |
|
BLAKE2b-256 | 8dfa2b2b718d4b6fabfb80619bd74ed901eda3c3546273cdee176b8d8a9a0d84 |