Sec Ftd
v0.2.1SEC Fails-to-Deliver (CNS fails data).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ftd_security
Fails-to-deliver history for one US-listed security from the SEC's CNS fails-to-deliver file, by ticker symbol. Returns each settlement date with the number of shares that failed to deliver, the closing price, the security description and its CUSIP. A fail-to-deliver is a settlement failure — shares not delivered on time — and the SEC states it is NOT evidence of naked short selling; ordinary causes include processing delays, order-entry errors and illiquidity. Answers "what were the fails-to-deliver for GME", "has this stock had settlement failures recently".
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker symbol as SEC writes it, e.g. "GME", "TSLA". |
periods | number | How many recent half-month files to search, 1-6 (default 2, roughly the last month). SEC publishes one file per half month. |
ftd_largest
The largest fails-to-deliver in one SEC reporting period, ranked by share count, from the CNS fails-to-deliver file. Returns ticker, security description, settlement date, shares failed and price. A fail-to-deliver is a settlement failure and is NOT evidence of naked short selling — the SEC says so explicitly; ordinary causes include processing delays and illiquidity. Answers "which stocks had the most failed deliveries this period".
| Parameter | Type | Description |
|---|---|---|
limit | number | How many securities to return, 1-100 (default 25). |
period | string | Reporting period as YYYYMM plus a or b — "202607b" is the second half of July 2026. Omit for the most recent published period. Call ftd_periods to see what exists. |
ftd_periods
Which SEC fails-to-deliver reporting periods are currently published, newest first. SEC posts one file per half month ("a" = 1st-15th, "b" = 16th to month end). Use this to pick a valid period argument, or to see how current the data is.