Optuma unable to locate Trader Work Station (TWS)

Author: Optuma Team Last updated: Mar 5, 2019 22:41

Description

Client is unable to connect Optuma to Interactive Brokers after following all the steps listed in the setup KB. Admin mode has no effect, and the Port has been checked between TWS and Optuma to confirm they match. With all that done the data menu is still red (TWS Must Be Open).

Cause

Seen this most often in Windows 10, there is something in Microsoft.Net which needs to be manually initialized.

Resolution

You need to close TWS and Optuma down, and open Command Prompt in admin mode. Then type the following into the command line:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /tlb “c:\Program Files\Optuma\TWSLib.dll”

You may need to adjust this if they have not installed Optuma in the default location.

You will see a lot of text returned. Close the command prompt down and re-open TWS and Optuma. This should resolve the problem.

Ticket Email Template or use Optuma - Unable to find TWS Canned Response

Hi,

Thank you for your email.

To resolve this issue please run through the following steps:

  1. Close TWS and Optuma

  2. Click on the Windows button on the bottom left corner and type in CMD. In the menu that displays, right click the Command Prompt option and select Run as Administrator.

  3. In the command prompt window, copy and paste the following text and press Enter to run it:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /tlb “c:\Program Files\Optuma\TWSLib.dll”

  1. Once this process has completed close the Command Prompt window and restart TWS and Optuma. The connection between the two programs should now be established.