def serialization_single_stock_data(self): logging.warn('save metadata for ' + self.current_stock.stock_code) util.serialization_object( self.base_path + self.current_stock.stock_code + '/metadata.json', self.current_stock)
def serialization_single_stock_data(self): logging.warn('save metadata for ' + self.current_stock.stock_code) util.serialization_object(self.base_path + self.current_stock.stock_code + '/metadata.json', self.current_stock)
def serialization_stock_data(self): util.serialization_object(self.base_path + 'stocks.json', self.stocks)