Configure the Connecting Service Name
- Launch Trader Workstation or IB Gateway
- Open the Windows File Explorer
- Navigate to
C:\TWS API\samples\DdeSocketBridge - Right click the “runDdeSocketBridge.bat” file.
- Click Edit from the list. This will open a new Notepad window.
- NOTE: Windows 11 users may need to choose “Show more options” first.
- On the third line after “DdeSocketBridge.jar” add -s followed by whichever Service name you wish to use in Excel.
NOTE: Be sure on each page of your connected DDE that you match the User Name cell with what is listed here.

