def __init__(self): super().__init__() self.exchange = ExchangeParser() # parameters self.mkt_id = du.get_mkt_id(self.exchange.uptick_name) self.pdfs_dir = utils.PDF_DIR + self.exchange.uptick_name + '/' utils.create_pdf_dir(self.pdfs_dir) self.latest_date = du.get_latest_date_time(self.exchange.uptick_name, self.exchange.tzinfo)
def __init__(self): super().__init__() self.exchange = ExchangeParser() # parameters self.mkt_id = du.get_mkt_id(self.exchange.uptick_name) # todo: change uptick_name to col_name self.pdfs_dir = utils.PDF_DIR + self.exchange.col_name + '/' utils.create_pdf_dir(self.pdfs_dir) # private # if self.exchange.is_multi_source_exchange: self.latest_date = utils.create_date_time_tzinfo( '30 DEC 2017', self.exchange.tzinfo)