Documentation Center

  • Trial Software
  • Product Updates

Workflow for Interactive Brokers

This diagram shows the functions you can use with the IB Trader WorkstationSM to monitor market price information and submit orders.

To request current, intraday, or historical data:

  1. Connect to IB Trader Workstation using ibtws.

  2. Create the IB Trader Workstation contract object.

  3. Request current data for a security using getData.

  4. Request intraday data for a security using timeseries.

  5. Request historical data for a security using history.

  6. Close the IB Trader Workstation connection using close.

To submit orders to IB Trader Workstation:

  1. Connect to IB Trader Workstation using ibtws.

  2. Create the IB Trader Workstation contract object.

  3. Create the IB Trader Workstation order object.

  4. Create and submit the order using createOrder.

  5. Close the IB Trader Workstation connection using close.

Related Examples

Was this topic helpful?