Closed airudah2000 closed 6 years ago
Hello, OK this should be fixed in the latest code I pushed out last night.
HTTPSConnectionPool(host='api.ig.com', port=443): Max retries exceeded with url: /gateway/deal/positions/DIAAAACE232REAY (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f62cbf619b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
This definately relates to a network error. Specifically DNS. This is when IG (Or your network goes down).
"Temporary failure in name resolution" - Please check your DNS.
I get the following error:
When this happens, it assumes the trade is closed and opens a new one when a new opportunity is found. I had this happen yesterday and at some point, I had 6 trades open at the same time. It didn't open more as I hadn't enough funds for the margin.
Happened again this morning.