Skip to content

Commit

Permalink
Merge pull request #316 from RomelTorres/revert-285-patch-1
Browse files Browse the repository at this point in the history
Revert "added the eps functions"
  • Loading branch information
AlphaVantageSupport committed Jun 14, 2021
2 parents 4921e09 + 9c15094 commit c637657
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions alpha_vantage/fundamentaldata.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,33 +87,6 @@ def get_balance_sheet_quarterly(self, symbol):
"""
_FUNCTION_KEY = 'BALANCE_SHEET'
return _FUNCTION_KEY, 'quarterlyReports', 'symbol'

@av._output_format
@av._call_api_on_func
def get_eps_annual(self, symbol):
"""
Returns the Earnings per share (Eps) data for the company on an annual basis.
Keyword Arguments:
symbol: the symbol for the equity we want to get its data
"""

_FUNCTION_KEY = "EARNINGS"
return _FUNCTION_KEY, "annualEarnings", "symbol"

@av._output_format
@av._call_api_on_func
def get_eps_quarterly(self, symbol):
"""
Returns the Earnings per share (Eps) data for the company on a quartely basis.
This also includes the analyst earning estimates and the earning surprise.
Keyword Arguments:
symbol: the symbol for the equity we want to get its data
"""

_FUNCTION_KEY = "EARNINGS"
return _FUNCTION_KEY, "quarterlyEarnings", "symbol"

@av._output_format
@av._call_api_on_func
Expand Down

0 comments on commit c637657

Please sign in to comment.