Connect to a trading account using specified parameters.
[in] Trading account number. Required unnamed parameter.
[in] Trading account password. Optional named parameter. If the password is not set, the password saved in the terminal database is applied automatically.
[in] Trade server name. Optional named parameter. If no server is set, the last used server is applied automatically.
[in] Connection timeout in milliseconds. Optional named parameter. If not specified, the value of 60 000 (60 seconds) is applied. If the connection is not established within the specified time, the call is forcibly terminated and the exception is generated.
True in case of a successful connection to the trade account, otherwise – False.