failstodeliver
failstodeliver is a python library to download Fails-to-Deliver Data from U.S. SECURITIES AND EXCHANGE COMMISSION database.
The data downloaded is in csv file format.
The file contains the date, CUSIP numbers, ticker symbols, issuer name, price, and total number of fails-to-deliver (i.e., the balance level outstanding) recorded in the National Securities Clearing Corporation's ("NSCC") Continuous Net Settlement (CNS) system aggregated over all NSCC members.
failstodeliver data can also be used to get CUSIP-TICKER mapping.
The record layout and maximum field sizes are shown below :
| Field Name | Field Description | Maximum Size |
|---|---|---|
| SETTLEMENT DATE | SETTLEMENT DATE | Number - 8 digits |
| CUSIP | CUSIP | 9 characters |
| SYMBOL | TICKER SYMBOL | 10 characters |
| QUANTITY (FAILS) | TOTAL FAILURE-TO-DELIVER SHARES | Number - unlimited |
| DESCRIPTION | COMPANY NAME | 30 characters |
| PRICE | CLOSING PRICE ON PREVIOUS DAY | Number - unlimited |
Installation
Use the package manager pip to install failstodeliver.
pip install failstodeliver
Usage
from failstodeliver import ftdDownloader
ftdDownloader.download_csv()
Source
https://www.sec.gov/data/foiadocsfailsdatahtm
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for failstodeliver 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| failstodeliver-0.0.5.tar.gz | 2.9 kB | Without provenance | Details for failstodeliver-0.0.5.tar.gz |
Release files / failstodeliver-0.0.5.tar.gz
| Download URL | failstodeliver-0.0.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e28f25d7b72e9dae85b701362da4f2aab5d734fe95212e44b8c37078846eeb33
|
|
BLAKE2b-256 checksum How to use checksums |
f4c72c989ece371ea7b8e03029c17abd8adb2d69c64425806bf8822a2493d48b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for failstodeliver 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.