What is IB Gateway?

IB Gateway is a standalone, Java-based software application with a minimal graphical user interface that is used by API and FIX/CTCI users to connect to IBKR for trading.

  • In the IB API mode of operation, after choosing API Type "IB API" on the login screen, IB Gateway serves as a lightweight alternative to TWS which provides full API functionality but with a simple user interface used only for modifying API-relevant settings. Unlike TWS, IB Gateway does not give the user the ability to view their account, or perform other tasks such as placing orders without the use of a connected API program. A potential advantage for API users of using IB Gateway as opposed to TWS is that it requires fewer system resources.
  • In the FIX/CTCI mode of operation, after choosing API Type "FIX CTCI" on the login screen, clients authenticate with a pre-configured FIX Login username and password, and then a FIX-compatible application can connect to IB Gateway to place orders. In this mode, there is additionally the option of authenticating with API Market Data credentials to receive market data from IBKR since this is not available from FIX/CTCI.

IB Gateway provides the option of running continuously for up to a week, from Sunday to Sunday, from a single user authentication. From menu Settings select Configure, then Lock and Exit and check Auto Restart. If this option is chosen, IB Gateway will attempt to restart daily during the week without any required intervention by the user.


Additional Information

Powered by IBot
Can I access TWS or IB Gateway via auto login?
Can I use the TWS API with free trial accounts?
What is the 3rd Party REST Web API?
What are the differences between connecting via TWS API and FIX/CTCI?