ChangeOrder()
<< Click to Display Table of Contents >> ChangeOrder() |
![]() ![]() ![]() |
Amends a specified Order.
Note: This method is only relevant for Managed orders with IsLiveUntilCancelled set to true and Unmanaged orders. |
ChangeOrder(Order order, int quantity, double limitPrice, double stopPrice)
Warning: If you have existing historical order references which have transitioned to real-time, you MUST update the order object reference to the newly submitted real-time order; otherwise errors may occur as you attempt to change the order. You may use the GetRealtimeOrder() helper method to assist in this transition. |
order |
Order object of the order you wish to amend |
quantity |
Order quantity |
limitPrice |
Order limit price. Use "0" should this parameter be irrelevant for the OrderType being submitted. |
stopPrice |
Order stop price. Use "0" should this parameter be irrelevant for the OrderType being submitted. |
private Order stopOrder = null; |