private void InsertSecurityStaticeDataIfNotExists(ISecurityStaticDataModel securityStaticDataModel)
 {
     _logger.Error($"HistoricDataGrabTask: Inserting static data if not exists for symbol: {securityStaticDataModel.Symbol}");
     if (!_persistenceManager.DoesSecurityStaticDataExist(securityStaticDataModel))
     {
         _persistenceManager.InsertSecurityStatic(securityStaticDataModel);
     }
 }
 private void InsertSecurityStaticeDataIfNotExists(ISecurityStaticDataModel securityStaticDataModel)
 {
     try
     {
         _logger.Information($"FileBasedDataGrabTask: Inserting static data if not exists for symbol: {securityStaticDataModel.Symbol}");
         if (!_persistenceManager.DoesSecurityStaticDataExist(securityStaticDataModel))
         {
             _persistenceManager.InsertSecurityStatic(securityStaticDataModel);
         }
     }
     catch(Exception exception)
     {
         _logger.Error($"FileBasedDataGrabTask: Error processing static data for symbol: {securityStaticDataModel.Symbol}");
         _logger.Error(exception.ToString());
     }
 }