Please find Edit in the Interactive Brokers platform (TWS) and then select Global Configuration. Click it and then select API and then Settings. Please make sure the first box (Enable ActiveX) is marked. Also make sure that your port setting is 7496 and that the Read‑Only box is not marked.
Why do I get the error “Failed to Initialize API” when using the Interactive Brokers API?
April 6, 2022
1 min read