This event is called when there is an error with the communication or when TWS wants to send a message to the client.
Sub errMsg(ByVal id As Integer, ByVal errorCode As Integer, ByVal errorMsg As String)
|
Parameter |
Description |
|
id |
This is the orderId or tickerId of the request that generated the error |
|
errorCode |
Error codes are documented in the Error Codes topic. |
|
errorString |
This is the textual description of the error, also documented in the Error Codes topic. |