AmendOcoLegOrderRequest
- lifetimeType: stringrequired
The order lifetime. The time for which the order is valid. Call orders destinations endpoint for complete list including lifetime and pricingInstruction options.
- orderType: number
Number requiredOrder number of the leg order to be amended.
- pricingType: string
Instruction requiredRepresents the price attribute and order attribute of the market order, ie, Limit, Market. Call orders destinations endpoint for complete list including lifetime and pricingInstruction options.
- sideType: string enumrequired
The side of the order.
values- Buy
- Sell
- Short
- dataType: object · DataFieldsProperties
Fields Properties that can be added on dataFields property. FixedContigentOrder properties can only be used when the destination is 'FIXED CO'. TrailingContingentOrder properties can only be used whtn the destination is 'TRAILING CO'.
- brokerageType: string | null
Override .minimum A flat $value brokerage override, excluding GST, to 2 decimal places. Applies to Limit or MarketToLimit pricingInstruction only. Overrides the current order only, does not modify the default rate for future trades.
- brokerageType: string Format: string
Override .schedule Schedule for brokerage override.
- fixedType: string Format: date-time
Contingent Order .expiry Date Optional value to set the expiry date of the contingent order. Can only be used when Destination is 'FIXED CO'; otherwise, it will be ignored.
- fixedType: string enum
Contingent Order .trigger Condition The condition that will trigger the order creation. Required when Destination is 'FIXED CO'; otherwise, it will be ignored.
values- Greater
- Less
- Greater
Or Equal - Less
Or Equal
- fixedType: string Format: double
Contingent Order .trigger Price The price that will trigger the order creation. Required when Destination is 'FIXED CO'; otherwise, it will be ignored.
- fixedType: string enum
Contingent Order .trigger Price Type The type of price that will trigger the order creation. Required when Destination is 'FIXED CO'; otherwise, it will be ignored.
values- Last
- Bid
- Ask
- fixedType: string
Contingent Order .trigger Security Security in the form of 'securityCode.exchange' that will trigger the order creation. Required when Destination is 'FIXED CO'; otherwise, it will be ignored.
- originType: string
Of Order max length:512String value that tells the origin of order.
- trailingType: string Format: date-time
Contingent Order .expiry Date Optional value to set the expiry date of the contingent order. Can only be used when Destination is 'TRAILING CO'; otherwise, it will be ignored.
- trailingType: string
Contingent Order .limit Offset The unit or percentage to limit the offset. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored.
- trailingType: string enum
Contingent Order .limit Offset Type The type of unit which the offset limit would apply to. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored. Default value is 'PRICE'.
values- Price
- Percentage
- Price
Step
- trailingType: string enum
Contingent Order .trailing Direction The direction to recalculate the trigger price. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored. Default value is 'Up'.
values- Up
- Down
- trailingType: string
Contingent Order .trailing Offset The number of units or percentage where the user would like the stop to be set from the current price. Required when Destination is 'TRAILING CO'; otherwise, it will be ignored.
- trailingType: string enum
Contingent Order .trailing Offset Type The type of unit which trailing offset would apply to. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored. Default value is 'Price'.
values- Price
- Percentage
- Price
Step
- trailingType: string
Contingent Order .trailing Price The base price for trailing orders. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored.
- trailingType: string
Contingent Order .trailing Step The unit or percentage movement that will cause the trailing price to be reset or recalculated. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored. Default value is '1'.
- trailingType: string enum
Contingent Order .trailing Step Type The type of unit which trailing step would apply to. Optional, use only when Destination is 'TRAILING CO'; otherwise, it will be ignored.
values- Price
- Percentage
- Price
Step
- trailingType: string
Contingent Order .trigger Security Security in the form of 'securityCode.exchange' that will trigger the order creation. Required when Destination is 'TRAILING CO'; otherwise, it will be ignored.
- expiryType: string Format: date-time
Date Time Date and time the order will be removed from the market if it hasn't fully traded. (Exchange time).
- notesType: stringmax length:512
Custom notes to attach to the order.
- orderType: number Format: double
Price The order price.
- orderType: number Format: double
Volume The order volume.

