def getMorningQFin(self, ticker, datacode): fin_type = 'qtr' try: x = float( morningstar.fetch_financials(self, fin_type, ticker, datacode)) except: x = morningstar.fetch_financials(self, fin_type, ticker, datacode) return x
def getMorningQFin( self, ticker, datacode): """Return Quarterly data. Mapped to PyUNO through the Xsmf.rdb file""" fin_type = 'qtr' try: x = float(morningstar.fetch_financials(self, fin_type, ticker, datacode)) except: x = morningstar.fetch_financials(self, fin_type, ticker, datacode) return x
def getMorningQFin(self, ticker, datacode): """Return Quarterly data. Mapped to PyUNO through the Xsmf.rdb file""" fin_type = 'qtr' try: x = float( morningstar.fetch_financials(self, fin_type, ticker, datacode)) except: x = morningstar.fetch_financials(self, fin_type, ticker, datacode) return x
def getMorningQFin(self, ticker, datacode): fin_type = 'qtr' try: s = morningstar.fetch_financials(self, fin_type, ticker, datacode) except Exception as ex: return str(ex) try: x = float(s) except: x = s return x
def getMorningFin( self, ticker, datacode): return morningstar.fetch_financials(self, ticker, datacode)
def getMorningFin(self, ticker, datacode): return morningstar.fetch_financials(self, ticker, datacode)