public class StockQuote extends Object
Constructor and Description |
---|
StockQuote(String symbol) |
public StockQuote(String symbol)
public BigDecimal getChange()
public BigDecimal getChangeInPercent()
public BigDecimal getChangeFromYearLow()
public BigDecimal getChangeFromYearLowInPercent()
public BigDecimal getChangeFromYearHigh()
public BigDecimal getChangeFromYearHighInPercent()
public BigDecimal getChangeFromAvg50()
public BigDecimal getChangeFromAvg50InPercent()
public BigDecimal getChangeFromAvg200()
public BigDecimal getChangeFromAvg200InPercent()
public String getSymbol()
public BigDecimal getAsk()
public void setAsk(BigDecimal ask)
public Long getAskSize()
public void setAskSize(Long askSize)
public BigDecimal getBid()
public void setBid(BigDecimal bid)
public Long getBidSize()
public void setBidSize(Long bidSize)
public BigDecimal getPrice()
public void setPrice(BigDecimal price)
public Long getLastTradeSize()
public void setLastTradeSize(Long lastTradeSize)
public String getLastTradeDateStr()
public void setLastTradeDateStr(String lastTradeDateStr)
public String getLastTradeTimeStr()
public void setLastTradeTimeStr(String lastTradeTimeStr)
public Calendar getLastTradeTime()
public void setLastTradeTime(Calendar lastTradeTime)
public Calendar getLastTradeTime(TimeZone timeZone)
timeZone
- time zone where the stock is tradedpublic TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public BigDecimal getOpen()
public void setOpen(BigDecimal open)
public BigDecimal getPreviousClose()
public void setPreviousClose(BigDecimal previousClose)
public BigDecimal getDayLow()
public void setDayLow(BigDecimal dayLow)
public BigDecimal getDayHigh()
public void setDayHigh(BigDecimal dayHigh)
public BigDecimal getYearLow()
public void setYearLow(BigDecimal yearLow)
public BigDecimal getYearHigh()
public void setYearHigh(BigDecimal yearHigh)
public BigDecimal getPriceAvg50()
public void setPriceAvg50(BigDecimal priceAvg50)
public BigDecimal getPriceAvg200()
public void setPriceAvg200(BigDecimal priceAvg200)
public Long getVolume()
public void setVolume(Long volume)
public Long getAvgVolume()
public void setAvgVolume(Long avgVolume)
Copyright © 2022. All rights reserved.