Class Instrument

java.lang.Object
com.studerw.tda.model.instrument.Instrument
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FullInstrument

public class Instrument extends Object implements Serializable
Instrument
See Also:
  • Constructor Details

    • Instrument

      public Instrument()
  • Method Details

    • getBondPrice

      public BigDecimal getBondPrice()
      Returns:
      bond price. This will be null in all cases except for bonds (i.e. AssetType=BOND).
    • getCusip

      public String getCusip()
    • getSymbol

      public String getSymbol()
    • getDescription

      public String getDescription()
    • getExchange

      public String getExchange()
    • getAssetType

      public Instrument.AssetType getAssetType()
    • getOtherFields

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

      public String toString()
      Overrides:
      toString in class Object