¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Newbie VB IB Question


m_c_a98
 

In the "PlacingOrders" example in the Files section of this Group, a
variable is created called "NewID" whenever an order is placed.

Lets say I've placed an order and now want to cancel or modify this
order.

Do I get the order in questions' ID from
the "orderstatus", "openorder1", or "openorder2" events?

If I want to send a cancel order I don't think I can use the "newid"
variable because this will create a new incremanted ID?
---------------
Private Sub cancelbtn_Click()
Tws1.CancelOrder newID
End Sub
----------------

Thanks for the help.

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