Does StreamXLS work with IB Gateway, without running TWS? #4
Answered
by
streamxls-dev
streamxls-dev
asked this question in
Q&A
|
A question people ask in IBKR trading forums — answered here so it's searchable. |
Answered by
streamxls-dev
Aug 18, 2026
Replies: 1 comment
|
Yes. StreamXLS connects to either TWS or IB Gateway as an API client — Gateway's default ports are 4001 (live) and 4002 (paper), versus TWS's 7496 / 7497. For a non-default host or port, add a connection argument to the formula (for example |
0 replies
Answer selected by
streamxls-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. StreamXLS connects to either TWS or IB Gateway as an API client — Gateway's default ports are 4001 (live) and 4002 (paper), versus TWS's 7496 / 7497. For a non-default host or port, add a connection argument to the formula (for example
"port=4002", or"gw"for the standard Gateway port). A single workbook can hold connections to multiple TWS/Gateway instances at once, and they need not be on the same machine. See connection parameters in the manual.