开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: twsapi: TWS Error Handling


Robert Carey
 

开云体育

I've made over a hundred trades with the ActiveX and VB. So far the api hasn't thrown any errors.
One trade had an invalid order ID and was never executed. There was no error thrown by the API.
RCarey

----- Original Message -----
Sent: Tuesday, July 02, 2002 12:01 PM
Subject: twsapi: TWS Error Handling

Does anyone have a comprehensive list of all or most of the possible
error strings that are fed through Tws1_errMsg ?

It sure would be nice to have a full list and a cross refrence index
to handle errors...

A library of err text strings if you will that can be refrenced and
then acted on if necessary...very much akin to VB's own error
handling....

If TwsErr = 11 Then
? [do stuff]
Else
? [do other stuff]
EndIf


Scott



To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .

Join [email protected] to automatically receive all group messages.