IBKR Gateway
Live IBKR data, trading console, and order entry
Live market data, the trading console, and order entry through IBKR Gateway or TWS. Requires the Interactive Brokers plugin, which owns the broker profile.
Install
gloom install gloom-sh/gloom-ibkr-gatewayRestart Gloom after installing. Requires Gloom 0.18.4 or newer.
It does not run in the web terminal at term.gloom.sh, so it needs Gloom on your own machine.
What it adds
One pane you can open from the command bar:
- IBKR trading
Network access
Makes no third-party requests.
Questions, answered
Readme
Terminal and desktop only
Gateway speaks the TWS API over a raw TCP socket to a local Gateway or TWS process. A browser cannot open one, so this plugin declares targets: ["cli", "tui", "desktop"] and does not appear as installable at term.gloom.sh.
On the desktop the socket lives in the app's Bun process, which loads index.tsx; the window loads index.browser.tsx, the same plugin without the socket module, and every request from a pane reaches the socket through Gloomberb's remote broker client.
Flex account sync has no such limit, which is why the two are separate plugins.
What it adds
- IBKR Console pane: Open Orders and Executions tabs, the Gateway profile and account in the query bar, and the account's net liquidation, buying power, available funds and day P&L above the table. The footer shows the connection state and the last refresh.
iandaopen the profile and account menus; on an open order,mloads it into the Trade tab to modify andccancels it after a confirmation. A cancel or modify that fails says so in the order's STATUS, with the reason under the table while the order is selected. - Trade tab on the ticker research pane, with preview, place, modify, and cancel. The query bar holds the profile, account and side; the quote and net liquidation sit under it, then the order fields (contract, type, quantity, limit and stop prices), IBKR's what-if figures, and the Preview and Submit buttons. Click a field, or press Enter, to give the ticket the keyboard:
iprofile,aaccount,b/vbuy or sell,scontract,qquantity,ttype,llimit,xstop,ppreview, Enter submit, Esc to hand the keyboard back. - Live quotes, price history, and instrument search sourced from Gateway
Buy Selected/Sell Selectedcommands