softwarespartan / IB4m

Interactive Brokers API for Matlab
GNU General Public License v2.0
62 stars 21 forks source link

Callback #125

Closed achille1112 closed 3 years ago

achille1112 commented 3 years ago

Dear Abel, thanks for working on this Matlab IB API. When I place an order can I attach an Order Status Callback?

Best Regards. Domenico.

softwarespartan commented 3 years ago

Thanks for reaching out.

Yes, you certainly can get order status.

The event is TWS.Events.TWS_ORDERSTATUS

There is an example in IB4m/docs/OpenOrdersExample.m

achille1112 commented 3 years ago

Thank you very much Abel!

Best Regards. Domenico