def __init__(self): DataBase.__init__(self) self.months = { 'jan': '01', 'feb': '02', 'mar': '03', 'apr': '04', 'may': '05', 'jun': '06', \ 'jul': '07', 'aug': '08', 'sep': '09', 'oct': '10', 'nov': '11', 'dec': '12' } self.weekdays = [ 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun' ] self.dayz = [ 'Today', 'Yesterday' ] self.filterz = [ ' ' ]
def __init__(self, ticker, freq='A', bulk_option=False): DataBase.__init__(self) self.ticker = ticker self.freq = freq self.verbose = False self.bulk_option = bulk_option self.bulk_bool = bulk_option if type(self.bulk_bool) != type(True): self.bulk_bool = True
def __init__(self, ticker, freq = 'A'): DataBase.__init__(self) self.ticker = ticker self.freq = freq
def __init__(self, ticker): DataBase.__init__(self) self.ticker = ticker
def __init__(self, ticker, freq = 'A', countryCode = ''): DataBase.__init__(self) self.ticker = ticker self.countryCode = countryCode self.freq = freq