Class StockPosition


  • public class StockPosition
    extends Object
    Stock position
    • Constructor Detail

      • StockPosition

        public StockPosition()
    • Method Detail

      • getSymbol

        public String getSymbol()
        Returns the security symbol.
        Returns:
        security symbol
      • getSymbolName

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

        public BigDecimal getQuantity()
        Returns the holding quantity.
        Returns:
        holding quantity
      • getAvailableQuantity

        public BigDecimal getAvailableQuantity()
        Returns the available (sellable) quantity.
        Returns:
        available quantity
      • getCurrency

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

        public BigDecimal getCostPrice()
        Returns the cost price.
        Returns:
        cost price
      • getMarket

        public Market getMarket()
        Returns the market.
        Returns:
        market
      • getInitQuantity

        public BigDecimal getInitQuantity()
        Returns the initial holding quantity at the start of the day.
        Returns:
        initial quantity