CreateIfDoneLegOrderRequest

Use only for leg orders on CreateIfDoneOrderRequest. Order destination could only be 'FIXED CO', 'TRAILING CO', 'BESTMKT', and 'qCXA' for primary leg order, and; 'FIXED CO' or 'TRAILING CO' for second leg order

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

  • The exchange where the security is listed. Values are case-insensitive.

    values
    AOMASXAXWCXANSXNASNYS
  • The order lifetime. The time for which the order is valid. Values are case-insensitive. Call orders destinations endpoint for the lifetimes available on each destination.

    values
    DateEndOfDayGoodTillCancelFillAndKillFillOrKill
  • The price attribute of the order. Values are case-insensitive. Call orders destinations endpoint for the pricing instructions available on each destination.

  • Security Code.

  • The side of the order.

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

    Properties: 19
  • Date and time the order will be removed from the market if it hasn't fully traded. (Exchange time). Required when lifetime is Date, and ignored for other lifetimes.

  • Custom notes to attach to the order.

  • The order price.