Git Product home page Git Product logo

edgar-10k-mda's Introduction

edgar-10k-mda

This repo contains some python code I used to download form10k filings from EDGAR database, and then extract the MDA section from the downloaded form10k filings(in a brute force way).

Getting Started

The whole workflow contains 3 steps

  • Step 1. Download index of the form 10k filings
  • Step 2. Using the index from Step 1., download the form 10k filings(html) and parse text out of html using BeautifulSoup
  • Step 3. Parse the MDA section of form10k text from Step 2.

Below are the commands with arguments to run each step

Step 1. Download index of the form 10k filings with start year and end year and save to 'index-10-path'. Raw index files with also be saved to '--index-dir=./index'.

python edgar.py download index --year-start=2016 --year-end=2016 --index-dir=./index  --index-10k-path=index.10k.csv

Step 2. Download Form 10k filings using '--index-10k-path' from Step 1, parse with BeautifulSoup and save to '--10k-dir'

python edgar.py download 10k --index-10k-path=./index.10k.csv --10k-dir=./form10k

Step 3. Parse the MDA section of the downloaded text in '--10k-dir' and save to '--mda-dir'

python edgar.py extract mda --10k-dir=./form10k --mda-dir=./mda

Installation

I used python3.6

#python36
pip install -r requirements.txt

edgar-10k-mda's People

Contributors

tzuhsial avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.