Class Order


  • public class Order
    extends Object
    Order information
    • Constructor Detail

      • Order

        public Order()
    • Method Detail

      • getOrderId

        public String getOrderId()
        Returns the order ID.
        Returns:
        order ID
      • getStatus

        public OrderStatus getStatus()
        Returns the order status.
        Returns:
        order status
      • getStockName

        public String getStockName()
        Returns the security name.
        Returns:
        security name
      • getQuantity

        public BigDecimal getQuantity()
        Returns the order quantity.
        Returns:
        order quantity
      • getExecutedQuantity

        public BigDecimal getExecutedQuantity()
        Returns the executed quantity.
        Returns:
        executed quantity
      • getPrice

        public BigDecimal getPrice()
        Returns the order price.
        Returns:
        order price
      • getExecutedPrice

        public BigDecimal getExecutedPrice()
        Returns the executed price.
        Returns:
        executed price
      • getSubmittedAt

        public OffsetDateTime getSubmittedAt()
        Returns the submission time.
        Returns:
        submission time
      • getSide

        public OrderSide getSide()
        Returns the order side.
        Returns:
        order side
      • getSymbol

        public String getSymbol()
        Returns the security code.
        Returns:
        security code
      • getOrderType

        public OrderType getOrderType()
        Returns the order type.
        Returns:
        order type
      • getLastDone

        public BigDecimal getLastDone()
        Returns the last trade price.
        Returns:
        last trade price
      • getTriggerPrice

        public BigDecimal getTriggerPrice()
        Returns the trigger price.
        Returns:
        trigger price
      • getMsg

        public String getMsg()
        Returns the rejection or system remark message.
        Returns:
        rejection or system remark message
      • getTag

        public OrderTag getTag()
        Returns the order tag.
        Returns:
        order tag
      • getTimeInForce

        public TimeInForceType getTimeInForce()
        Returns the time-in-force type.
        Returns:
        time-in-force type
      • getExpireDate

        public LocalDate getExpireDate()
        Returns the expiry date (for GoodTilDate orders).
        Returns:
        expiry date
      • getUpdatedAt

        public OffsetDateTime getUpdatedAt()
        Returns the last update time.
        Returns:
        last update time
      • getTriggerAt

        public OffsetDateTime getTriggerAt()
        Returns the trigger time.
        Returns:
        trigger time
      • getTrailingAmount

        public BigDecimal getTrailingAmount()
        Returns the trailing amount.
        Returns:
        trailing amount
      • getTrailingPercent

        public BigDecimal getTrailingPercent()
        Returns the trailing percentage.
        Returns:
        trailing percentage
      • getLimitOffset

        public BigDecimal getLimitOffset()
        Returns the limit offset.
        Returns:
        limit offset
      • getTriggerStatus

        public TriggerStatus getTriggerStatus()
        Returns the trigger status.
        Returns:
        trigger status
      • getCurrency

        public String getCurrency()
        Returns the currency.
        Returns:
        currency
      • getOutsideRth

        public OutsideRTH getOutsideRth()
        Returns the outside-RTH setting.
        Returns:
        outside-RTH setting
      • remark

        public String remark()
        Returns the remark.
        Returns:
        remark
      • getLimitDepthLevel

        public Integer getLimitDepthLevel()
        Returns the limit depth level.
        Returns:
        limit depth level
      • getTriggerCount

        public Integer getTriggerCount()
        Returns the trigger count.
        Returns:
        trigger count
      • getMonitorPrice

        public BigDecimal getMonitorPrice()
        Returns the monitor price.
        Returns:
        monitor price