CreateOcoOrderRequest

  • accountCode
    Type: string
    required

    Name of the account to which the order has been allocated.

  • primary
    required

    Use only for leg orders on CreateOcoOrderRequest. Order destination could only be 'FIXED CO' or 'TRAILING CO'

    • destination
      Type: string
      required

      Destination of the order. Call orders destinations endpoint for complete list including lifetime and pricingInstruction options.

    • exchange
      Type: string
      required

      The exchange where the security is listed.

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

    • orderVolume
      Type: number Format: double
      required

      The order volume.

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

    • securityCode
      Type: string
      required

      Security Code.

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

  • secondary
    required

    Use only for leg orders on CreateOcoOrderRequest. Order destination could only be 'FIXED CO' or 'TRAILING CO'

    • destination
      Type: string
      required

      Destination of the order. Call orders destinations endpoint for complete list including lifetime and pricingInstruction options.

    • exchange
      Type: string
      required

      The exchange where the security is listed.

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

    • orderVolume
      Type: number Format: double
      required

      The order volume.

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

    • securityCode
      Type: string
      required

      Security Code.

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