code: def securityEvent(symbol=None, token='', version=''):
      '''The Security event message is used to indicate events that apply to a security. A Security event message will be sent whenever such event occurs
  
      https://iexcloud.io/docs/api/#deep-security-event
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          dict: result
      '''
      _raiseIfNotStr(symbol)
      if symbol:
          return _getJson('deep/security-event?symbols=' + symbol, token, version)
      return _getJson('deep/security-event', token, versionf securityEvent(symbol=None, token='', version=''):
      '''The Security event message is used to indicate events that apply to a security. A Security event message will be sent whenever such event occurs
  
      https://iexcloud.io/docs/api/#deep-security-event
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          dict: result
      '''
      _raiseIfNotStr(symbol)
      if symbol:
          return _getJson('deep/security-event?symbols=' + symbol, token, version)
      return _getJson('deep/security-event', token, version)
docs: The Security event message is used to indicate events that apply to a security. A Security event message will be sent whenever such event occurs
  
      https://iexcloud.io/docs/api/#deep-security-event
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          dict: result