':param trader_id: String representing the trader id
:type trader_id: str
:raises ValueError: Thrown when one of the arguments are invalid'

def __init__(self, trader_id):

    super(TraderId, self).__init__()
    if (not isinstance(trader_id, str)):
        raise ValueError('Trader    id    must    be    a    string')
    try:
        int(trader_id, 16)
    except ValueError:
        raise ValueError('Trader    id    must    be    hexadecimal')
    self._trader_id = trader_id
