Class Order

java.lang.Object
com.studerw.tda.model.account.Order
All Implemented Interfaces:
Serializable

public class Order extends Object implements Serializable
Order both sent and received when making trades. Some of the easier examples are described on the TDA Developer page.
See Also:
  • Constructor Details

    • Order

      public Order()
  • Method Details

    • getSession

      public Session getSession()
    • setSession

      public void setSession(Session session)
    • getDuration

      public Duration getDuration()
    • setDuration

      public void setDuration(Duration duration)
    • getOrderType

      public OrderType getOrderType()
    • setOrderType

      public void setOrderType(OrderType orderType)
    • getCancelTime

      public LocalDate getCancelTime()
    • setCancelTime

      public void setCancelTime(LocalDate cancelTime)
    • getComplexOrderStrategyType

      public ComplexOrderStrategyType getComplexOrderStrategyType()
    • setComplexOrderStrategyType

      public void setComplexOrderStrategyType(ComplexOrderStrategyType complexOrderStrategyType)
    • getQuantity

      public BigDecimal getQuantity()
    • setQuantity

      public void setQuantity(BigDecimal quantity)
    • getFilledQuantity

      public BigDecimal getFilledQuantity()
    • setFilledQuantity

      public void setFilledQuantity(BigDecimal filledQuantity)
    • getRemainingQuantity

      public BigDecimal getRemainingQuantity()
    • setRemainingQuantity

      public void setRemainingQuantity(BigDecimal remainingQuantity)
    • getRequestedDestination

      public RequestedDestination getRequestedDestination()
    • setRequestedDestination

      public void setRequestedDestination(RequestedDestination requestedDestination)
    • getDestinationLinkName

      public String getDestinationLinkName()
    • setDestinationLinkName

      public void setDestinationLinkName(String destinationLinkName)
    • getReleaseTime

      public Date getReleaseTime()
    • setReleaseTime

      public void setReleaseTime(Date releaseTime)
    • getStopPrice

      public BigDecimal getStopPrice()
    • setStopPrice

      public void setStopPrice(BigDecimal stopPrice)
    • getStopPriceLinkBasis

      public StopPriceLinkBasis getStopPriceLinkBasis()
    • setStopPriceLinkBasis

      public void setStopPriceLinkBasis(StopPriceLinkBasis stopPriceLinkBasis)
    • getStopPriceLinkType

      public StopPriceLinkType getStopPriceLinkType()
    • setStopPriceLinkType

      public void setStopPriceLinkType(StopPriceLinkType stopPriceLinkType)
    • getStopPriceOffset

      public BigDecimal getStopPriceOffset()
    • setStopPriceOffset

      public void setStopPriceOffset(BigDecimal stopPriceOffset)
    • getStopType

      public StopType getStopType()
    • setStopType

      public void setStopType(StopType stopType)
    • getPriceLinkBasis

      public PriceLinkBasis getPriceLinkBasis()
    • setPriceLinkBasis

      public void setPriceLinkBasis(PriceLinkBasis priceLinkBasis)
    • getPriceLinkType

      public PriceLinkType getPriceLinkType()
    • setPriceLinkType

      public void setPriceLinkType(PriceLinkType priceLinkType)
    • getPrice

      public BigDecimal getPrice()
    • setPrice

      public void setPrice(BigDecimal price)
    • getTaxLotMethod

      public TaxLotMethod getTaxLotMethod()
    • setTaxLotMethod

      public void setTaxLotMethod(TaxLotMethod taxLotMethod)
    • getOrderLegCollection

      public List<OrderLegCollection> getOrderLegCollection()
    • setOrderLegCollection

      public void setOrderLegCollection(List<OrderLegCollection> orderLegCollection)
    • getActivationPrice

      public BigDecimal getActivationPrice()
    • setActivationPrice

      public void setActivationPrice(BigDecimal activationPrice)
    • getSpecialInstruction

      public SpecialInstruction getSpecialInstruction()
    • setSpecialInstruction

      public void setSpecialInstruction(SpecialInstruction specialInstruction)
    • getOrderStrategyType

      public OrderStrategyType getOrderStrategyType()
    • setOrderStrategyType

      public void setOrderStrategyType(OrderStrategyType orderStrategyType)
    • getOrderId

      public Long getOrderId()
    • setOrderId

      public void setOrderId(Long orderId)
    • getCancelable

      public Boolean getCancelable()
    • setCancelable

      public void setCancelable(Boolean cancelable)
    • getEditable

      public Boolean getEditable()
    • setEditable

      public void setEditable(Boolean editable)
    • getStatus

      public Status getStatus()
    • setStatus

      public void setStatus(Status status)
    • getEnteredTime

      public ZonedDateTime getEnteredTime()
    • setEnteredTime

      public void setEnteredTime(ZonedDateTime enteredTime)
    • getCloseTime

      public ZonedDateTime getCloseTime()
    • setCloseTime

      public void setCloseTime(ZonedDateTime closeTime)
    • getTag

      public String getTag()
    • setTag

      public void setTag(String tag)
    • getAccountId

      public Long getAccountId()
    • setAccountId

      public void setAccountId(Long accountId)
    • getOrderActivityCollection

      public List<OrderActivity> getOrderActivityCollection()
    • setOrderActivityCollection

      public void setOrderActivityCollection(List<OrderActivity> orderActivityCollection)
    • getReplacingOrderCollection

      public List<Object> getReplacingOrderCollection()
    • setReplacingOrderCollection

      public void setReplacingOrderCollection(List<Object> replacingOrderCollection)
    • getChildOrderStrategies

      public List<Object> getChildOrderStrategies()
    • setChildOrderStrategies

      public void setChildOrderStrategies(List<Object> childOrderStrategies)
    • getStatusDescription

      public String getStatusDescription()
    • setStatusDescription

      public void setStatusDescription(String statusDescription)
    • getOtherFields

      public Map<String,Object> getOtherFields()
    • toString

      public String toString()
      Overrides:
      toString in class Object