Documentation

close

Close IB Trader Workstation connection

Syntax

Description

example

close(ib) closes the IB Trader WorkstationSM connection ib.

Examples

collapse all

Close the IB Trader Workstation Connection

Connect to the IB Trader Workstation on the local machine with port number 7496.

 ib = ibtws('',7496); 

ibtws creates the IB Trader Workstation connection object ib.

Close the IB Trader Workstation connection using the IB Trader Workstation connection object ib.

close(ib)

Related Examples

Input Arguments

collapse all

ib — IB Trader Workstation connectionconnection object

IB Trader Workstation connection, specified as an IB Trader Workstation connection object created using ibtws.

See Also

Was this topic helpful?