You need to agree to share your Hugging Face information to access this dataset
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
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
Log in or Sign Up to review the conditions and access this dataset content.
Stocks Daily Short Borrow Cost Stats
What it costs to borrow shares to sell them short, every business day, by market, trading currency and, in the US, market-capitalisation decile: the quartiles and 90th percentile of the annual borrow fee, the share of hard-to-borrow names, the share with little supply and the currency's reference rate. Aggregate statistics only: no row describes a single security.
Shape measured at the next refresh of dataset_cards/facts.json. Refreshed daily.
Why It Matters
A backtest that sells short and charges nothing for the borrow overstates every long-short strategy, and the overstatement is largest exactly where the anomalies are: on 2026-11-20 the median US name in the smallest capitalisation decile cost 11.8 %/yr to borrow and 70 % of that decile was hard to borrow, against a median of 0.28 %/yr and almost none in the largest decile. A short leg in micro-caps can lose more to the borrow than the signal earns.
Use it to charge the short leg of a backtest a realistic carry, by size and by market:
- Cost of the short leg: take
fee_median(typical name) orfee_p75/fee_p90(a short book tilted to crowded names) for the cell a position falls in, and charge it pro rata per day held, on the value of the short position. - Feasibility:
share_fee_above_5pctandshare_low_availabilitysay how much of a cell can be shorted at scale; in the US,share_not_offeredsays how much of a size decile cannot be borrowed at all that day. - Across markets: the same statistics for 17 markets, so a European or Asian long-short strategy gets its own short cost instead of a US guess.
How It Is Built
From daily securities-lending availability and fee data: one snapshot per business day of the names that can be borrowed, with the quantity offered, the annual borrow fee and the rebate paid on the cash collateral. The snapshot is taken once a day, after the US close (the first one, on 2026-11-20, before the US open).
Each day's names are split into cells that partition them (every name falls in exactly one cell):
marketis the market of the venue group the name trades on, as an ISO 3166 code (US,GB,DE,JP...);currencyis the trading currency of the line; a market lists names in several currencies (London and Amsterdam carry EUR, USD, SEK and CHF lines);size_bucket, for US names traded in USD, is the decile of market capitalisation fromStocks-Daily-MarketCap(D01the smallest,D10the largest): the latest capitalisation on or before the day, at most 45 days old, with the decile breakpoints computed over every company in that dataset, so each decile holds the same number of companies. US lines without a capitalisation (ETFs, funds, preferreds, units, bonds, over-the-counter names) form theno_market_capcell. Outside the US there is no capitalisation in the catalogue yet, and the cell is the whole market and currency:all.
Minimum cell size: 20 names. A cell with fewer is pooled with the other small cells of its market into a currency = OTHER cell; a pool still under 20 names is dropped (24 names out of 48 572 on 2026-11-20). Fee statistics also need 20 names with a published fee, otherwise they are empty. Every share_* column is rounded to 0.05 (5 points), so that a cell gaining or losing one name from one day to the next does not tell on which side of a threshold that name sits; the fee quantiles are exact. Because the cells partition the day, no published figure can be subtracted from another to isolate a small group. No minimum, maximum or mean is published, since each can be set by a single name; the quantiles are interpolated.
The fee is the annual rate charged for borrowing, in percent: the reference rate of the currency (benchmark_rate) minus the rebate. A fee above the reference rate means a negative rebate: the borrower pays interest on top of forgoing it.
Thresholds. Hard to borrow is a fee above 5 %/yr, the usual convention. A fee above 1 %/yr marks a name that is no longer general collateral; above 25 %/yr, a special, where the carry alone eats a quarter of the position a year. Low availability is fewer than 10 000 shares offered. Names with nothing to lend do not appear in the daily data at all, so outright unavailability is measured only in the US, against the capitalisation universe (share_not_offered): it counts names with no shares to lend and names that stopped trading since their last capitalisation alike.
Coverage
- From 2026-11-20, no earlier history. The underlying data carries the current state only, so there is nothing to backfill: the first day is the first day collected. A backtest that starts earlier can only apply these levels as a constant, and should say so.
- 17 markets: US, Canada, Mexico, United Kingdom, Netherlands, France, Germany, Italy, Spain, Sweden, Switzerland, Austria, Belgium, Australia, Hong Kong, India, Japan. Indian lines carry no fee, so the India cell has counts and availability only.
- One row per cell per business day, about 45 rows a day.
Load It
pip install --upgrade pwb-toolbox
from pwb_toolbox import datasets as pwb_ds
df = pwb_ds.load_dataset("Stocks-Daily-ShortBorrowCostStats")
us = df[(df.market == "US") & (df.currency == "USD")]
print(us.pivot(index="date", columns="size_bucket", values="fee_median").tail())
Columns
| Column Name | Description |
|---|---|
| date | Observation day (US Eastern date of the snapshot). |
| market | ISO 3166 code of the market. |
| currency | ISO 4217 trading currency of the cell's lines, or OTHER for the pooled small currencies of the market. |
| size_bucket | D01 to D10: US market-capitalisation decile (smallest to largest); no_market_cap: US lines without a capitalisation; all: the whole market and currency. |
| n_names | Lines in the cell that day, at least 20. |
| n_names_with_fee | Of which with a published fee. |
| n_universe | US deciles only: companies of the decile in the capitalisation universe. |
| share_not_offered | US deciles only: part of n_universe with no line that day. |
| benchmark_rate | Reference rate of the currency, %/yr (rebate plus fee; one value per currency). Empty for OTHER. |
| fee_p25 | 25th percentile of the annual borrow fee, %/yr. |
| fee_median | Median annual borrow fee, %/yr. |
| fee_p75 | 75th percentile of the annual borrow fee, %/yr. |
| fee_p90 | 90th percentile of the annual borrow fee, %/yr. |
| share_fee_above_1pct | Part of the cell's fees above 1 %/yr. |
| share_fee_above_5pct | Part above 5 %/yr: hard to borrow. |
| share_fee_above_25pct | Part above 25 %/yr. |
| share_low_availability | Part of the cell's lines with fewer than 10 000 shares offered. |
Access
Browsing the card and the schema is open to anyone. Downloading the files needs an approved request, tied to a subscription: what each plan includes. The same subscription covers every dataset in this organisation and the strategy catalogue.
Elsewhere
- The strategy catalogue
pwb-toolbox, the loader used in the snippet above- Every dataset in this organisation
- Downloads last month
- 79