Represents a connection to an IB TWS or Gateway.
Note: IB TWS will close itself automatically everyday at the specified time.
If the connection needs to be kept for multiple days, please use IB Gateway
instead. That is, start IB Gateway (instead of TWS), and use configuration
(host and port) for connecting the gateway.