def _get_security_code(exchange: str, security: str) ->str:
    """Combine the exchange code and the security code
    """
    m = {'1': 't', '3': 'n', '6': 'f', '8': 's'}
    if exchange not in m:
        raise ValueError('Unknown Exchange code', exchange)
    return m.get(exchange) + security
