A comprehensive library for financial analysis
Project description
StockDataManager
This Python library offers a combination of technical analysis tools and fundamental data retrieval functionalities, designed to support investors, researchers, and enthusiasts in the financial markets. Utilizing the yfinance library, it provides easy access to historical stock data, financial statements, and key financial metrics from Yahoo Finance, alongside a suite of technical indicators for market analysis.
Features
- Technical Analysis (
IndicatorCalculator
Class): Over 30 technical indicators, including Moving Averages, MACD, Bollinger Bands, RSI, Ichimoku Cloud, and more, to dissect stock market trends and volatility. - Fundamental Analysis (
Fetcher
Class): Fetch historical stock data, income statements, balance sheets, cash flows, and key financial ratios (e.g., P/E, ROE, current ratio) for in-depth fundamental analysis.
Installation
pip install stockdatamanager
Quick Start
from stockdatamanager import Fetcher, IndicatorCalculator
# Fetch historical data and financial statements for analysis
fetcher = Fetcher(ticker='AAPL')
print(fetcher.get_pe_ratio())
# Apply technical analysis on fetched data
indicators = IndicatorCalculator(dataframe=fetcher.df)
df_with_rsi = indicators.calculate_RSI()
Usage
Fetching Data
fetcher = Fetcher(ticker='AAPL')
income_statement = fetcher.get_income_statement()
Calculating Technical Indicators
transform = Transform(ticker='AAPL')
df_with_macd = transform.calculate_MACD()
Contributions
Contributions to stockdatamanager are welcome! If you have suggestions for improvement or new features, feel free to open an issue or submit a pull request.
License
stockdatamanager is made available under the MIT License. See the LICENSE file for more details.
Contacts
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
Hashes for stockdatamanager-0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84f007b39d4083b383a78cd0cf97fa2cbaf1373cee49d6c3be78fbbf9697b90 |
|
MD5 | 7b519b71fa516eb38239985b371e0530 |
|
BLAKE2b-256 | 998706d1f6236d02b2eb21f73dcfcb645bab4bf605f0645da4604000214e6882 |