A Python package for investigating the correlation between economic and financial data.
Project description
Package Name
This Python package contains functions for investigating the correlation between economic and financial data.
Installation
You can install the package via pip:
pip install EcoStock
Usage
Here is an example of how to use the package:
import EcoStock
# Fetch stock data
stock_data = EcoStock.get_stock_data('AAPL', '2022-01-01', '2022-12-31')
# Fetch economic data
econ_data = EcoStock.get_world_bank_data('NY.GDP.MKTP.CD', 'US', '2022', '2022')
# Plot correlation
EcoStock.plot_correlation(stock_data, econ_data, 'Apple Stock', 'GDP')
# Calculate correlation
correlation = EcoStock.calculate_correlation(stock_data, econ_data)
print("Correlation Coefficient:", correlation)
Documentation
For more detailed documentation, including the list of available functions and their parameters, please refer to the documentation.
License
This project is licensed under the MIT License - see the LICENSE file for 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
EcoStock-0.4.1.tar.gz
(8.6 kB
view hashes)
Built Distribution
EcoStock-0.4.1-py3-none-any.whl
(10.9 kB
view hashes)