btadvisor client template code