Text this: Optimal portfolio performance constrained by tracking error