Esempio n. 1
0
 def __init__(self):
     self.stock_list = ConfigManager.instance().get_stock_list()
     self.stock_type = ConfigManager.instance().get_stock_type()
     self.query_all = ConfigManager.instance().get_query_all()
     self.query = StockQuery()
     self.stock_info = {}
     self.result_dir = os.path.join(os.path.dirname(sys.path[0]), 'Result')
Esempio n. 2
0
 def __init__(self):
     self.url = ''
     self.req = None
     self.resp = None
     self.content = ''
     self.stock_info = {}
     self.api_key = ConfigManager.instance().get_api_key()