This property can return a True or False condition based upon what happens in the Unit size script, or in this script section.  When an order arrives in this script section and its order.continueProcessing property returns a condition = True, the order is still active because it hasn't been rejected.  When the order.continueProcessing property = False, the order has been canceled.  

 

Orders are rejected using the Order.Reject ("reason for rejection text") function as it is processed in the Unit Size script section.

 

Example:

'  Check the Rejection status of the order
If order.continueProcessing = TRUE THEN
  '  Continue Processing Order
  '  Apply other filters to the order
ELSE
  '  Do Not Continue Processing Order
  '  Ignore the rejected order
ENDIF

 

Alternate Order Object:

Access to Order Object properties and functions in other scripts is made possible by using the AlternateOrder Object as the prefix ahead of the "." property or function. AlternateOrder Object is discussed below.

 

Notes:

Always check to be sure the order is available after a Broker function call using the system.orderExists() function prior to accessing it.

 

Using the alternateOrder object when orders are not in context will provide the same access as the Order object.  However, the alternateOrder object must be brought into context using the system.SetAlternateOrder object function prior to any attempt to use is properties and functions.

 

Once orders are brought into context their properties and function are available to reference and changes.

 

Links:

AlternateOrder Object, AlternateSystem Object, Order Functions, Order Object, Order Properties

See Also:

Broker Functions, Can Place Order, Unit Size, Can Add Unit,

 


Edit Time: 9/8/2020 5:15:36 PM


Topic ID#: 218

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software