Ameritrade web api functions