Python scraper for SEC N-MFP2 filings.
Project description
SEC N-MFP2 Money Market Fund Holdings Data
- Author: Yangjue Han
- Date: May 2020
Introduction
This repository contains code that enables the user to parse and download money market fund holdings information in N-MFP2 filings from SEC EDGAR system. At the end of every month, all U.S. money market funds are required to report their securities holdings to SEC, including identification, maturity, market value, yield to maturity, issuer information, and other features. For repurchase agreement contracts, money market funds also have to report information on collateral securities. The granularity of this dataset provides an unparallel opportunity for financial economists to study questions related to the shadow banking system.
Installation
pip install -i https://test.pypi.org/simple/ secmmf==0.0.1
Usage
import secmmf
# specify the directory used to store the data
# we recommand a local folder since the file could be several GB
data_dir = ## YOUR DIRECTORY HERE ##
pathfile = 'xmlpath.csv' # no need to change this
# download index files
secmmf.download_sec_index(data_dir, form_name = 'N-MFP2', start_date = '2016-10', end_date = '2020-05')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secmmf-1.0.1.tar.gz.
File metadata
- Download URL: secmmf-1.0.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce4e33204ca159a2b39498f4d670d056f6547c204356bd0c29c50f5df7f9c292
|
|
| MD5 |
98745ac563c34120efd8819106bc956b
|
|
| BLAKE2b-256 |
e62028b678a1658846f7208c60cadf084331a0691944a34d1fd7d794e607fd08
|
File details
Details for the file secmmf-1.0.1-py3-none-any.whl.
File metadata
- Download URL: secmmf-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2583603ad06fae3390a311930f5a09fd719a15d233807bb6be2e30cb612866c7
|
|
| MD5 |
881d732bb10aa3b2460e6e07bd67e19e
|
|
| BLAKE2b-256 |
83d4caf7c79d77c392a2ba76710868600edba525bc109b680d314b1b5fd598ea
|