Due to CORS restrictions, the IQ Option WebSocket and API endpoints don't work directly from localhost. This project includes a proxy server to handle these connections.
Inicializando a API api = API(email="seu-email", senha="sua-senha", host='trade.exnova.com/') -> padrão é IQ, não precisa chamar host. api.connect() # conecta à ...