Class SubmitMultiLegOrderLeg


  • public class SubmitMultiLegOrderLeg
    extends Object
    A leg of a multi-leg combination order to submit
    • Constructor Detail

      • SubmitMultiLegOrderLeg

        public SubmitMultiLegOrderLeg​(String symbol,
                                      BigDecimal ratioQuantity)
        Constructs a leg of a multi-leg combination order.
        Parameters:
        symbol - option symbol, in `ticker.region` format (e.g. QQQ260731C764000.US)
        ratioQuantity - leg ratio quantity; must be a positive number. The direction of each leg is implied by the strategy together with the order side, not by the sign of this value; a negative or zero ratio is rejected by the server with 602001
    • Method Detail

      • getSymbol

        public String getSymbol()
        Returns the option symbol.
        Returns:
        option symbol
      • getRatioQuantity

        public BigDecimal getRatioQuantity()
        Returns the leg ratio quantity.
        Returns:
        leg ratio quantity