TWS:
- Select File in the Mosaic layout or Edit in the Classic layout
- Select Global Configuration from the drop-down menu
- Select API and then Settings
- Check Enable ActiveX and Socket Clients
- Uncheck Read-Only API
- Verify the Socket Port value
IB Gateway:
- Select Configure and then Settings
- Select API and then Settings
- Uncheck Read-Only API
- Verify the Socket Port value
For further information on these configuration steps, please consult the TWS API documentation. If you are connecting to TWS or IB Gateway via a Third Party, the above steps will remain the same. Please see our documentation regarding known Third Party Connections.