www.gusucode.com > trading工具箱matlab源码程序 > trading/trading/ibtws.m
function ibtws %IBTWS Interactive Brokers Trader Workstation connection. % IB = IBTWS(HOST,PORT) creates a connection to Interactive % Brokers Trader Workstation given the ipaddress, HOST, of the machine % requesting the connection and the Trader Workstation port, PORT. % % For example, % % ib = ibtws('',7496) connects to Trader Workstation on the local % machine using port 7496. % % See also CLOSE. % Copyright 2013-2016 The MathWorks, Inc.