|
The Order functions are used to modify an existing order. You can set the fill price, quantity, stop price, or reject the order all together. It is common in the Unit Size script to use the SetQuantity function to set the quantity of the order.
Note that these can only be used in certain scripts that have default order object context. The scripts in which they can be used are listed for each function.
|
|
|
|
|
|
SetFillPrice
|
|
sets a new fill price for the order
|
SetQuantity
|
|
sets a new quantity for the order
|
SetStopPrice
|
|
sets a new protect stop for the order
|
Reject
|
|
rejects the order to stop further processing, and sets the reject message that is printed in the Filtered Trade Log
|
SetRuleLabel
|
|
sets the rule label string
|
SetCustomValue
|
|
sets the custom value number
|
SetOrderReportMessage
|
|
sets the order report message string
|
SetSortValue
|
|
sets the sort value number of the order, for use in sorting the orders
|
|
|
|
|