Documentation

Interactive Brokers

Access market data, submit orders, and request information through Interactive Brokers® using IB Trader WorkstationSM

For a simple example about order creation using Interactive Brokers, see Create an Order Using IB Trader Workstation. For a high-level overview about using Interactive Brokers functions in a workflow, see Workflow for Interactive Brokers.

Functions

ibtws Create IB Trader Workstation connection
getdata Request current Interactive Brokers data
history Request Interactive Brokers historical data
marketdepth Request Interactive Brokers market depth data
realtime Request Interactive Brokers real-time data
timeseries Request Interactive Brokers aggregated intraday data
close Close IB Trader Workstation connection
executions Request Interactive Brokers execution data
createOrder Create IB Trader Workstation order
orderid Obtain next valid order identification number
orders Request Interactive Brokers open order data
accounts Retrieve Interactive Brokers account information
contractdetails Request Interactive Brokers contract details
portfolio Retrieve current Interactive Brokers portfolio data
Was this topic helpful?