Package com.longbridge.quote
Class WarrantInfo
- java.lang.Object
-
- com.longbridge.quote.WarrantInfo
-
public class WarrantInfo extends Object
Warrant information from the warrant list.
-
-
Constructor Summary
Constructors Constructor Description WarrantInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetBalancePoint()Returns the breakeven point.BigDecimalgetCallPrice()Returns the call price.BigDecimalgetChangeRate()Returns the change ratio.BigDecimalgetChangeValue()Returns the change value.BigDecimalgetConversionRatio()Returns the conversion ratio.BigDecimalgetDelta()Returns the delta.BigDecimalgetEffectiveLeverage()Returns the effective leverage.LocalDategetExpiryDate()Returns the expiry date.BigDecimalgetImpliedVolatility()Returns the implied volatility.BigDecimalgetItmOtm()Returns whether the warrant is in or out of the bound (ITM/OTM).BigDecimalgetLastDone()Returns the latest price.BigDecimalgetLeverageRatio()Returns the leverage ratio.BigDecimalgetLowerStrikePrice()Returns the lower bound price (for inline warrants).StringgetName()Returns the warrant name.longgetOutstandingQty()Returns the outstanding quantity.BigDecimalgetOutstandingRatio()Returns the outstanding ratio.BigDecimalgetPremium()Returns the premium.WarrantStatusgetStatus()Returns the warrant status.BigDecimalgetStrikePrice()Returns the strike price.StringgetSymbol()Returns the security code.BigDecimalgetToCallPrice()Returns the price interval from the call price.BigDecimalgetTurnover()Returns the turnover.BigDecimalgetUpperStrikePrice()Returns the upper bound price (for inline warrants).longgetVolume()Returns the trading volume.WarrantTypegetWarrantType()Returns the warrant type.StringtoString()
-
-
-
Method Detail
-
getSymbol
public String getSymbol()
Returns the security code.- Returns:
- the security code
-
getWarrantType
public WarrantType getWarrantType()
Returns the warrant type.- Returns:
- the warrant type
-
getName
public String getName()
Returns the warrant name.- Returns:
- the warrant name
-
getLastDone
public BigDecimal getLastDone()
Returns the latest price.- Returns:
- the latest price
-
getChangeRate
public BigDecimal getChangeRate()
Returns the change ratio.- Returns:
- the change ratio
-
getChangeValue
public BigDecimal getChangeValue()
Returns the change value.- Returns:
- the change value
-
getVolume
public long getVolume()
Returns the trading volume.- Returns:
- the trading volume
-
getTurnover
public BigDecimal getTurnover()
Returns the turnover.- Returns:
- the turnover
-
getExpiryDate
public LocalDate getExpiryDate()
Returns the expiry date.- Returns:
- the expiry date
-
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
-
getOutstandingQty
public long getOutstandingQty()
Returns the outstanding quantity.- Returns:
- the outstanding quantity
-
getOutstandingRatio
public BigDecimal getOutstandingRatio()
Returns the outstanding ratio.- Returns:
- the outstanding ratio
-
getPremium
public BigDecimal getPremium()
Returns the premium.- Returns:
- the premium
-
getItmOtm
public BigDecimal getItmOtm()
Returns whether the warrant is in or out of the bound (ITM/OTM).- Returns:
- the ITM/OTM value
-
getImpliedVolatility
public BigDecimal getImpliedVolatility()
Returns the implied volatility.- Returns:
- the implied volatility
-
getDelta
public BigDecimal getDelta()
Returns the delta.- Returns:
- the delta
-
getCallPrice
public BigDecimal getCallPrice()
Returns the call price.- Returns:
- the call price
-
getToCallPrice
public BigDecimal getToCallPrice()
Returns the price interval from the call price.- Returns:
- the price interval from the call price
-
getEffectiveLeverage
public BigDecimal getEffectiveLeverage()
Returns the effective leverage.- Returns:
- the effective leverage
-
getLeverageRatio
public BigDecimal getLeverageRatio()
Returns the leverage ratio.- Returns:
- the leverage ratio
-
getConversionRatio
public BigDecimal getConversionRatio()
Returns the conversion ratio.- Returns:
- the conversion ratio
-
getBalancePoint
public BigDecimal getBalancePoint()
Returns the breakeven point.- Returns:
- the breakeven point
-
getStatus
public WarrantStatus getStatus()
Returns the warrant status.- Returns:
- the warrant status
-
-