this did not wok for me, what I did was delete your account under accounts on the left side, then log back in (log into trader account), double check that you use the same log in details on mt5 as in the python code and you must include the server name as well.