Package com.longbridge.quote
Class WarrantQuote
- java.lang.Object
-
- com.longbridge.quote.WarrantQuote
-
public class WarrantQuote extends Object
Quote of a warrant security.
-
-
Constructor Summary
Constructors Constructor Description WarrantQuote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCallPrice()Returns the call price.WarrantTypegetCategory()Returns the warrant category (type).BigDecimalgetConversionRatio()Returns the conversion ratio.LocalDategetExpiryDate()Returns the expiry date.BigDecimalgetHigh()Returns the highest price of the day.BigDecimalgetImpliedVolatility()Returns the implied volatility.BigDecimalgetLastDone()Returns the latest price.LocalDategetLastTradeDate()Returns the last tradable date.BigDecimalgetLow()Returns the lowest price of the day.BigDecimalgetLowerStrikePrice()Returns the lower bound price (for inline warrants).BigDecimalgetOpen()Returns the opening price.longgetOpenInterest()Returns the open interest.longgetOutstandingQuantity()Returns the outstanding quantity.BigDecimalgetOutstandingRatio()Returns the outstanding ratio.BigDecimalgetPrevClose()Returns yesterday's closing price.BigDecimalgetStrikePrice()Returns the strike price.StringgetSymbol()Returns the security code.OffsetDateTimegetTimestamp()Returns the timestamp of the latest price.TradeStatusgetTradeStatus()Returns the security trading status.BigDecimalgetTurnover()Returns the turnover.StringgetUnderlyingSymbol()Returns the underlying security symbol.BigDecimalgetUpperStrikePrice()Returns the upper bound price (for inline warrants).longgetVolume()Returns the trading volume.StringtoString()
-
-
-
Method Detail
-
getSymbol
public String getSymbol()
Returns the security code.- Returns:
- the security code
-
getLastDone
public BigDecimal getLastDone()
Returns the latest price.- Returns:
- the latest price
-
getPrevClose
public BigDecimal getPrevClose()
Returns yesterday's closing price.- Returns:
- yesterday's closing price
-
getOpen
public BigDecimal getOpen()
Returns the opening price.- Returns:
- the opening price
-
getHigh
public BigDecimal getHigh()
Returns the highest price of the day.- Returns:
- the highest price of the day
-
getLow
public BigDecimal getLow()
Returns the lowest price of the day.- Returns:
- the lowest price of the day
-
getTimestamp
public OffsetDateTime getTimestamp()
Returns the timestamp of the latest price.- Returns:
- the timestamp of the latest price
-
getVolume
public long getVolume()
Returns the trading volume.- Returns:
- the trading volume
-
getTurnover
public BigDecimal getTurnover()
Returns the turnover.- Returns:
- the turnover
-
getTradeStatus
public TradeStatus getTradeStatus()
Returns the security trading status.- Returns:
- the security trading status
-
getImpliedVolatility
public BigDecimal getImpliedVolatility()
Returns the implied volatility.- Returns:
- the implied volatility
-
getOpenInterest
public long getOpenInterest()
Returns the open interest.- Returns:
- the open interest
-
getExpiryDate
public LocalDate getExpiryDate()
Returns the expiry date.- Returns:
- the expiry date
-
getLastTradeDate
public LocalDate getLastTradeDate()
Returns the last tradable date.- Returns:
- the last tradable date
-
getOutstandingRatio
public BigDecimal getOutstandingRatio()
Returns the outstanding ratio.- Returns:
- the outstanding ratio
-
getOutstandingQuantity
public long getOutstandingQuantity()
Returns the outstanding quantity.- Returns:
- the outstanding quantity
-
getConversionRatio
public BigDecimal getConversionRatio()
Returns the conversion ratio.- Returns:
- the conversion ratio
-
getCategory
public WarrantType getCategory()
Returns the warrant category (type).- Returns:
- the warrant category
-
getStrikePrice
public BigDecimal getStrikePrice()
Returns the strike price.- Returns:
- the strike price
-
getUpperStrikePrice
public BigDecimal getUpperStrikePrice()
Returns the upper bound price (for inline warrants).- Returns:
- the upper bound price
-
getLowerStrikePrice
public BigDecimal getLowerStrikePrice()
Returns the lower bound price (for inline warrants).- Returns:
- the lower bound price
-
getCallPrice
public BigDecimal getCallPrice()
Returns the call price.- Returns:
- the call price
-
getUnderlyingSymbol
public String getUnderlyingSymbol()
Returns the underlying security symbol.- Returns:
- the underlying security symbol
-
-