Card: measured shape after the 18 Nov rebuild (rows, symbols, 9 columns, last date)
0474152 verified |
Download README.md from paperswithbacktest/Preferreds-Daily-Price: direct link, hf CLI and curl.
- Browser
- Download file 4.4 kB
-
https://huggingface.co/datasets/paperswithbacktest/Preferreds-Daily-Price/resolve/main/README.md
- Command line
-
hf download hf://datasets/paperswithbacktest/Preferreds-Daily-Price/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/paperswithbacktest/Preferreds-Daily-Price/resolve/main/README.md
4.4 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 | |
| - name: type | |
| dtype: string | |
| splits: | |
| - name: train | |
| num_examples: 2457916 | |
| # 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 --> | |
| **2,457,916 rows** over 3,056 symbols, 9 columns, covering **2003-03-24 to 2026-11-04**. Refreshed monthly. | |
| <!-- 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. | |
| **Instrument type (`type` column).** Every row carries the type code of its instrument, read from the point-in-time instrument table: `PFD` preferred share, `ADRP` preferred depositary receipt; null when no record ever typed the instrument. Measured on the build of 16 November 2026: `PFD` 93.5% of the rows, `ADRP` 1.0%, `UNIT` 0.2% (preferred partnership units), null 5.3%. A null row is a series filed here by its ticker's notation (a lower-case `p` and a series letter, `BACpA.CL`) or by its name, not by a stated type; most of them traded before the record typed anything. `get_pricing` does not return the column; `load_dataset` does. | |
| **Stray prints are not published.** A run of fewer than five bars that no instrument record places, more than a year away from the real series under the same ticker, is not a price history: 81 such series across the five equity repositories, 96 rows in all (52 of them single bars printed on 2007-06-13 under tickers long dead), are left out rather than published under a name of their own. | |
| ## 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. | |