@classmethod
def get(cls, name, default=None):
    """Return currency object with matching name or ticker."""
    for inst in cls.instances.values():
        if name in (inst.name, inst.ticker):
            return inst
    else:
        return default
