What is the correct way in python to log into multiple accounts and retrieve their profit ? (My way got me soft ip ban)

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi ,
I'm writing a script that will fetch from MT5 terminal the profit of 100 accounts I manage.
My code is basic , for each account I initialize mt5 and get account history :
After couple of hours of development and testing I found out I can't access MQL5 website (had to restart router to change IP).
If connecting/disconnecting multiple times to MT5 (because I iterate over all my accounts and bring the profit for the month) gets my IP banned , What is the correct way to do it ?