Package com.longbridge.quote
Class SecurityCalcIndex
- java.lang.Object
-
- com.longbridge.quote.SecurityCalcIndex
-
public class SecurityCalcIndex extends Object
Calculated indexes for a security.
-
-
Constructor Summary
Constructors Constructor Description SecurityCalcIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAmplitude()Returns the amplitude.BigDecimalgetBalancePoint()Returns the breakeven point.BigDecimalgetCallPrice()Returns the call price.BigDecimalgetCapitalFlow()Returns the capital flow.BigDecimalgetChangeRate()Returns the change ratio.BigDecimalgetChangeValue()Returns the change value.BigDecimalgetConversionRatio()Returns the conversion ratio.BigDecimalgetDelta()Returns the delta.BigDecimalgetDividendRatioTtm()Returns the dividend ratio (TTM).BigDecimalgetEffectiveLeverage()Returns the effective leverage.LocalDategetExpiryDate()Returns the expiry date.BigDecimalgetFiveDayChangeRate()Returns the five days change ratio.BigDecimalgetFiveMinutesChangeRate()Returns the five minutes change ratio.BigDecimalgetGamma()Returns the gamma.BigDecimalgetHalfYearChangeRate()Returns the half year change ratio.BigDecimalgetImpliedVolatility()Returns the implied volatility.BigDecimalgetItmOtm()Returns the in/out of the bound value.BigDecimalgetLastDone()Returns the latest price.BigDecimalgetLeverageRatio()Returns the leverage ratio.BigDecimalgetLowerStrikePrice()Returns the lower bound price.longgetOpenInterest()Returns the open interest.longgetOutstandingQty()Returns the outstanding quantity.BigDecimalgetOutstandingRatio()Returns the outstanding ratio.BigDecimalgetPbRatio()Returns the PB.BigDecimalgetPeTtmRatio()Returns the PE (TTM).BigDecimalgetPremium()Returns the premium.BigDecimalgetRho()Returns the rho.BigDecimalgetStrikePrice()Returns the strike price.StringgetSymbol()Returns the security code.BigDecimalgetTenDayChangeRate()Returns the ten days change ratio.BigDecimalgetTheta()Returns the theta.BigDecimalgetToCallPrice()Returns the price interval from the call price.BigDecimalgetTotalMarketValue()Returns the total market value.BigDecimalgetTurnover()Returns the turnover.BigDecimalgetTurnoverRate()Returns the turnover rate.BigDecimalgetUpperStrikePrice()Returns the upper bound price.BigDecimalgetVega()Returns the vega.longgetVolume()Returns the volume.BigDecimalgetVolumeRatio()Returns the volume ratio.BigDecimalgetWarrantDelta()Returns the warrant delta.BigDecimalgetYtdChangeRate()Returns the year-to-date change ratio.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
-
getChangeValue
public BigDecimal getChangeValue()
Returns the change value.- Returns:
- the change value
-
getChangeRate
public BigDecimal getChangeRate()
Returns the change ratio.- Returns:
- the change ratio
-
getVolume
public long getVolume()
Returns the volume.- Returns:
- the volume
-
getTurnover
public BigDecimal getTurnover()
Returns the turnover.- Returns:
- the turnover
-
getYtdChangeRate
public BigDecimal getYtdChangeRate()
Returns the year-to-date change ratio.- Returns:
- the year-to-date change ratio
-
getTurnoverRate
public BigDecimal getTurnoverRate()
Returns the turnover rate.- Returns:
- the turnover rate
-
getTotalMarketValue
public BigDecimal getTotalMarketValue()
Returns the total market value.- Returns:
- the total market value
-
getCapitalFlow
public BigDecimal getCapitalFlow()
Returns the capital flow.- Returns:
- the capital flow
-
getAmplitude
public BigDecimal getAmplitude()
Returns the amplitude.- Returns:
- the amplitude
-
getVolumeRatio
public BigDecimal getVolumeRatio()
Returns the volume ratio.- Returns:
- the volume ratio
-
getPeTtmRatio
public BigDecimal getPeTtmRatio()
Returns the PE (TTM).- Returns:
- the PE (TTM)
-
getPbRatio
public BigDecimal getPbRatio()
Returns the PB.- Returns:
- the PB
-
getDividendRatioTtm
public BigDecimal getDividendRatioTtm()
Returns the dividend ratio (TTM).- Returns:
- the dividend ratio (TTM)
-
getFiveDayChangeRate
public BigDecimal getFiveDayChangeRate()
Returns the five days change ratio.- Returns:
- the five days change ratio
-
getTenDayChangeRate
public BigDecimal getTenDayChangeRate()
Returns the ten days change ratio.- Returns:
- the ten days change ratio
-
getHalfYearChangeRate
public BigDecimal getHalfYearChangeRate()
Returns the half year change ratio.- Returns:
- the half year change ratio
-
getFiveMinutesChangeRate
public BigDecimal getFiveMinutesChangeRate()
Returns the five minutes change ratio.- Returns:
- the five minutes change ratio
-
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.- Returns:
- the upper bound price
-
getLowerStrikePrice
public BigDecimal getLowerStrikePrice()
Returns the lower bound price.- 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 the in/out of the bound value.- Returns:
- the ITM/OTM value
-
getImpliedVolatility
public BigDecimal getImpliedVolatility()
Returns the implied volatility.- Returns:
- the implied volatility
-
getWarrantDelta
public BigDecimal getWarrantDelta()
Returns the warrant delta.- Returns:
- the warrant 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
-
getOpenInterest
public long getOpenInterest()
Returns the open interest.- Returns:
- the open interest
-
getDelta
public BigDecimal getDelta()
Returns the delta.- Returns:
- the delta
-
getGamma
public BigDecimal getGamma()
Returns the gamma.- Returns:
- the gamma
-
getTheta
public BigDecimal getTheta()
Returns the theta.- Returns:
- the theta
-
getVega
public BigDecimal getVega()
Returns the vega.- Returns:
- the vega
-
getRho
public BigDecimal getRho()
Returns the rho.- Returns:
- the rho
-
-