AmendOcoOrderRequest

  • orderNumber
    Type: number
    required

    Root order number to be amended. This is the order number of the actual OCO Contingent Order

  • primary
    required
    • lifetime
      Type: string
      required

      The order lifetime. The time for which the order is valid. Call orders destinations endpoint for complete list including lifetime and pricingInstruction options.

    • orderNumber
      Type: number
      required

      Order number of the leg order to be amended.

    • pricingInstruction
      Type: string
      required

      Represents 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.

    • side
      Type: string enum
      required

      The side of the order.

      values
      • Buy
      • Sell
      • Short
    • dataFields
      Type: object · DataFieldsProperties

      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'.

    • expiryDateTime
      Type: string Format: date-time

      Date and time the order will be removed from the market if it hasn't fully traded. (Exchange time).

    • notes
      Type: string
      max length:  
      512

      Custom notes to attach to the order.

    • orderPrice
      Type: number Format: double

      The order price.

    • orderVolume
      Type: number Format: double

      The order volume.

  • secondary
    required
    • lifetime
      Type: string
      required

      The order lifetime. The time for which the order is valid. Call orders destinations endpoint for complete list including lifetime and pricingInstruction options.

    • orderNumber
      Type: number
      required

      Order number of the leg order to be amended.

    • pricingInstruction
      Type: string
      required

      Represents 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.

    • side
      Type: string enum
      required

      The side of the order.

      values
      • Buy
      • Sell
      • Short
    • dataFields
      Type: object · DataFieldsProperties

      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'.

    • expiryDateTime
      Type: string Format: date-time

      Date and time the order will be removed from the market if it hasn't fully traded. (Exchange time).

    • notes
      Type: string
      max length:  
      512

      Custom notes to attach to the order.

    • orderPrice
      Type: number Format: double

      The order price.

    • orderVolume
      Type: number Format: double

      The order volume.