Class Symbol

java.lang.Object
com.jquestrade.Symbol

public class Symbol extends Object
Represents a symbol/ticker. For more information on the ticker, use Questrade#getSymbolInfo(int, int...) to get a SymbolInfo, which is this class + more info.
See Also:
  • Method Details

    • getSymbol

      public String getSymbol()
      Returns the stock symbol/ticker.
      Returns:
      The stock symbol/ticker.
    • getSymbolId

      public int getSymbolId()
      Returns the internal unique symbol identifier.
      Returns:
      The internal unique symbol identifier.
    • getDescription

      public String getDescription()
      Returns the symbol description (e.g., "Microsoft Corp.").
      Returns:
      The symbol description.
    • getSecurityType

      public String getSecurityType()
      Returns the symbol security type (Eg: "Stock")
      Returns:
      The symbol security type
      See Also:
    • getListingExchange

      public String getListingExchange()
      Returns the primary listing exchange of the symbol.
      Returns:
      The primary listing exchange.
      See Also:
    • isTradable

      public boolean isTradable()
      Returns whether a symbol is tradable on the platform.
      Returns:
      Whether a symbol is tradable on the platform.
    • isQuotable

      public boolean isQuotable()
      Returns whether a symbol has live market data.
      Returns:
      Whether a symbol has live market data.
    • getCurrency

      public String getCurrency()
      Returns the symbol currency (ISO format).
      Returns:
      The symbol currency.