Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Version2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPHartmann committed Sep 23, 2021
1 parent 06409b8 commit 6c8cd36
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion FinMesh.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: FinMesh
Version: 2.0a11
Version: 2.0
Summary: A Python wrapper to bring together various financial APIs.
Home-page: UNKNOWN
Author: Michael and Josh Hartmann
Expand Down
54 changes: 27 additions & 27 deletions FinMesh/iex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,36 +994,36 @@ def get_analyst_recommendations(self, output=None):
return result


def get_analyst_estimates(self, output=None):
"""Premium Data. 10,000 premium credits per symbol requested.
Sets class attribute 'analyst_estimates'.
Not yet implemented.
:return: Latest consensus estimate for the next fiscal period for the requested symbol.
:param output: Determines the output of the data. Default is raw JSON.
:type output: accepted values are ['dataframe', 'csv', 'excel'], optional
"""
result = premium.future_estimates(self.ticker)
self.analyst_estimates = result
return result


def get_earnings(self, output=None):
"""Premium Data. 1,000 premium credits per symbol requested.
Earnings are available quarterly (last 4 quarters) and annually (last 4 years).
Sets class attribute 'earnings'.
Not yet implemented.
# def get_analyst_estimates(self, output=None):
# """Premium Data. 10,000 premium credits per symbol requested.
# Sets class attribute 'analyst_estimates'.
# Not yet implemented.
#
# :return: Latest consensus estimate for the next fiscal period for the requested symbol.
#
# :param output: Determines the output of the data. Default is raw JSON.
# :type output: accepted values are ['dataframe', 'csv', 'excel'], optional
# """
# result = premium.future_estimates(self.ticker)
# self.analyst_estimates = result
# return result

:return: Earnings data for a given company including the actual EPS, consensus, and fiscal period.

# def get_earnings(self, output=None):
# """Premium Data. 1,000 premium credits per symbol requested.
# Earnings are available quarterly (last 4 quarters) and annually (last 4 years).
# Sets class attribute 'earnings'.
# Not yet implemented.
#
# :return: Earnings data for a given company including the actual EPS, consensus, and fiscal period.
#
#
# :param output: Determines the output of the data. Default is raw JSON.
# :type output: accepted values are ['dataframe', 'csv', 'excel'], optional
# result = premium.earnings(self.ticker)
# self.earnings = result
# return result

:param output: Determines the output of the data. Default is raw JSON.
:type output: accepted values are ['dataframe', 'csv', 'excel'], optional
"""
result = premium.earnings(self.ticker)
self.earnings = result
return result

##### UNPICKLER METHOD #####
def unpickle_class_state(file):
Expand Down
54 changes: 27 additions & 27 deletions build/lib/FinMesh/iex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,36 +994,36 @@ def get_analyst_recommendations(self, output=None):
return result


def get_analyst_estimates(self, output=None):
"""Premium Data. 10,000 premium credits per symbol requested.
Sets class attribute 'analyst_estimates'.
Not yet implemented.
:return: Latest consensus estimate for the next fiscal period for the requested symbol.
:param output: Determines the output of the data. Default is raw JSON.
:type output: accepted values are ['dataframe', 'csv', 'excel'], optional
"""
result = premium.future_estimates(self.ticker)
self.analyst_estimates = result
return result


def get_earnings(self, output=None):
"""Premium Data. 1,000 premium credits per symbol requested.
Earnings are available quarterly (last 4 quarters) and annually (last 4 years).
Sets class attribute 'earnings'.
Not yet implemented.
# def get_analyst_estimates(self, output=None):
# """Premium Data. 10,000 premium credits per symbol requested.
# Sets class attribute 'analyst_estimates'.
# Not yet implemented.
#
# :return: Latest consensus estimate for the next fiscal period for the requested symbol.
#
# :param output: Determines the output of the data. Default is raw JSON.
# :type output: accepted values are ['dataframe', 'csv', 'excel'], optional
# """
# result = premium.future_estimates(self.ticker)
# self.analyst_estimates = result
# return result

:return: Earnings data for a given company including the actual EPS, consensus, and fiscal period.

# def get_earnings(self, output=None):
# """Premium Data. 1,000 premium credits per symbol requested.
# Earnings are available quarterly (last 4 quarters) and annually (last 4 years).
# Sets class attribute 'earnings'.
# Not yet implemented.
#
# :return: Earnings data for a given company including the actual EPS, consensus, and fiscal period.
#
#
# :param output: Determines the output of the data. Default is raw JSON.
# :type output: accepted values are ['dataframe', 'csv', 'excel'], optional
# result = premium.earnings(self.ticker)
# self.earnings = result
# return result

:param output: Determines the output of the data. Default is raw JSON.
:type output: accepted values are ['dataframe', 'csv', 'excel'], optional
"""
result = premium.earnings(self.ticker)
self.earnings = result
return result

##### UNPICKLER METHOD #####
def unpickle_class_state(file):
Expand Down
Binary file added dist/FinMesh-2.0-py3-none-any.whl
Binary file not shown.
Binary file added dist/FinMesh-2.0.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name = "FinMesh",
version = "2.0a11",
version = "2.0",
author = "Michael and Josh Hartmann",
author_email = "[email protected]",
description = "A Python wrapper to bring together various financial APIs.",
Expand Down

0 comments on commit 6c8cd36

Please sign in to comment.