Open Savalinn opened 6 years ago
I will add that
I got the same problem
Hello, this is how I fixed it:
go to "stable_api.py" and modify as:
On line 9, add:
import sys
On line 37, add:
print('Unable to login, please, verify your credentials.') time.sleep(5) sys.exit()`
After 5 seconds, your script will end.
@ArthurAlbert990 Thank for your share~ I will for reference your code
@Savalinn @PoYuTsai @ArthurAlbert990 i think i fix that
you can try last version
hi can you add this for metatrader?
If anyone can help me, but when reconnect fails, it exits the api. I want to take some time to try to reconect again and not exit/stop the program. Sorry, I'm new to python and try a few things but no sucess... Thanks!
@FabioAlbano
update to last version and try this sample
https://github.com/Lu-Yi-Hsun/iqoptionapi#reconnectcheck-connect
Worked, thanks!
can you connect now?
On Thu, Oct 24, 2019 at 8:30 AM FabioAlbano notifications@github.com wrote:
Sorry, I didn't pay attention to set to (-1)... Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Lu-Yi-Hsun/iqoptionapi/issues/22?email_source=notifications&email_token=AJLLCUZRL6ZUXMPA2D5TVOTQQEFUHA5CNFSM4FFHQ4O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECDQRYQ#issuecomment-545720546, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLLCUYJLC2VDDWEP5AYCSDQQEFUHANCNFSM4FFHQ4OQ .
Hello,
My IP is banned to half hour because I make a typo in my login data. The script immediately try again and again the login with my wrong, misstyped data, therefore exist this issue.
How can I disable the automatic login loop, if logging in is failed? (to prevent the next ban)