Skip to main content

A Python package for investigating the correlation between economic and financial data.

Project description

EcoStock

License: MIT

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


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.5.2.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

EcoStock-0.5.2-py3-none-any.whl (14.2 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