Metadata-Version: 2.1
Name: pd-fred
Version: 0.1.0
Summary: Python package to calculate Probability of Default using FRED data.
Home-page: https://github.com/yourusername/pd_fred
Author: Your Name
Author-email: your.email@example.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# pd_fred

A Python package for calculating the Probability of Default (PD) using FRED data.

## Installation
```bash
pip install pd_fred
```

## Usage
```python
from pd_fred import DataFetcher, PDefaultCalculator

# Fetch data
fetcher = DataFetcher(api_key='your_fred_api_key')
data = fetcher.get_data('DGS10')

# Calculate PD using the Merton model
pd_value = PDefaultCalculator.calculate_merton_model(
    asset_value=100, debt_value=80, asset_volatility=0.2, risk_free_rate=0.01, time_horizon=1
)
```


