Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 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
Ejemplo n.º 4
0
 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
Ejemplo n.º 5
0
 def getMorningFin( self, ticker, datacode):
     return morningstar.fetch_financials(self, ticker, datacode)
Ejemplo n.º 6
0
 def getMorningFin(self, ticker, datacode):
     return morningstar.fetch_financials(self, ticker, datacode)