MysticQuant42's picture
Upload README.md with huggingface_hub
1e8f2ee verified
|
Raw History Blame Contribute Delete
3.17 kB
---
pretty_name: Preferreds Daily Price
language:
- en
license: other
task_categories:
- time-series-forecasting
- tabular-regression
tags:
- finance
- quantitative-trading
- backtesting
- algorithmic-trading
- preferred-shares
- equities
- daily
- ohlcv
- market-data
- time-series
size_categories:
- 1M<n<10M
extra_gated_prompt: "This dataset is free to browse and gated for download. Approval is tied to a Papers With Backtest subscription, which also covers the other datasets in this organisation and the strategy catalogue at https://paperswithbacktest.com. Plans and what each one includes: https://paperswithbacktest.com/pricing"
dataset_info:
features:
- name: symbol
dtype: string
- name: date
dtype: string
- name: open
dtype: float64
- name: high
dtype: float64
- name: low
dtype: float64
- name: close
dtype: float64
- name: volume
dtype: int64
- name: adj_close
dtype: float64
---
# Preferreds Daily Price
This dataset includes daily price data for preferred shares. Preferred shares listed on US venues (the source's `PFD` and `ADRP` types), with the delisted ones.
<!-- MEASURED:START - rewritten by dataset_cards/refresh.py -->
<!-- MEASURED:END -->
Symbols keep the venue's notation: a lower-case `p` and the series letter (`BACpL` is Bank of America's series L, `PCGpB` Pacific Gas and Electric's series B).
## Why It Matters
- **Income and capital-structure studies:** preferred shares sit between debt and equity; their prices carry the credit and rate sensitivity that hybrid-capital papers test.
- **Clean equity universes:** until October 2026 these series lived inside `Stocks-Daily-Price`, where a liquidity screen ranked them next to ordinary shares. Moving them here is what keeps the stock panel a panel of stocks.
## How It Is Built
Every US-listed security trades under a bare ticker, and the same ticker is reused across instruments over the years. Each row is routed here because the instrument the ticker designated **on that date** was one of the types above, per a point-in-time instrument table (one era per `(ticker, identity)`), not because of what the ticker is today. `adj_close` is computed from the splits and dividends record; `open`, `high`, `low`, `close` are the raw prints.
**Reused tickers.** A ticker that designated several instruments over the years does not stitch them into one series: the instrument trading under it most recently keeps the bare ticker, and each earlier one keeps its own rows under `<TICKER>_<YYYYMMDD>`, the last day it traded under that ticker. `ASO` is Academy Sports (2020-), `ASO_20061103` is AmSouth Bancorporation (2003-2006). Load either name like any other symbol.
## Load It
**Installation/Upgrade:**
```bash
pip install --upgrade pwb-toolbox
```
**Load the Dataset:**
```python
from pwb_toolbox import datasets as pwb_ds
df = pwb_ds.load_dataset("Preferreds-Daily-Price", symbols=["BACpL"])
print(df.iloc[0, :])
```
## Related Datasets
- `Stocks-Daily-Price`: ordinary shares and ADRs.
- `ETFs-Daily-Price`: exchange-traded funds, notes and closed-end funds.
- `Universe-Daily-Price`: which repository carries each symbol.