Davinci Edgar Data Library

Overview

Setup

To connect to edgar and pull the data, you need to install edgartools in your Python environment.
pip install edgartools

Cache

To connect to edgar and pull the data, you need to install edgartools in your Python environment.
edgar-cache=d:/cache

Functions

  • retrieve - connects to edgar and retrieves a set of financials for a specified company and saves the results to the local hard drive (cache)
  • retrieve_current - reads all the saved financials for a given company, and then connects to edgar and retrieves all financials from the most recent saved financial to todays date.
  • get - returns a set of financials from the local hard drive (cache)
  • dates - returns a set of dates for which the cache holds statements
  • translate - transforms a set of financials into a simple list of dictionary dataset.
  • translate_current - transforms a set of financials intoa simple list of Dictionaries dataset, but filters out prior date financials from each financial. (ie retains only the most recent for each submission)