Davinci Edgar Data Library - Translate Current

Overview

The translate_current function converts a set of edgartools financial statements into standard list of dictionaries. It is similar to the translate function. However, when a company reports a number, such as revernue, in its financial statements, it often reports the current number and the number from the last two statemetns as well. The translate_current function discards the prior reported values and just reports the most recent number for the given filing date. (the previous numbers can be gotten by querying for the previous filing dates)

translate_current function

import lib.data.edgar as ed fins = ed.get('AAPL', '10-K', dates[0]) data = ed.translate_current(fins)