-
Notifications
You must be signed in to change notification settings - Fork 48
IB API Tips
Rob Terpilowski edited this page Apr 2, 2016
·
2 revisions
-
TWS will frequently fire duplicate order status messages. The SumZero API will watch for duplicates and filter them before firing OrderStatus events.
-
IB Errors: The API will fire messages through the error() mechanism even for conditions that are not errors. Examples include reporting on the connection status between TWS and the various IB servers. These system-type errors/warnings use an ID of -1 in the error() callback
-
When error messages are fired, there is no specifying if the error was due to an order that was just placed, or due to a request for market or historical data.