Davinci Edgar Data Library - Retrieve Current
Overview
The retrieve current function will retrieve finanical statements from the edgar server and saves them
to the local cache. It is similar to the
retrieve
function, however, it does not takes any dates as input. It looks in the cache for the most recent set of
statements for the inputted company and statement type, then it adds one day to the date and queries edgar for
the statements from the calculated date to todays date.
If no statements exist in the cache for the company, it sets the first date to 1990-01-01.
get function
import lib.data.edgar as ed
ed.retrieve_current("name@server.com","AAPL","10-K")