Package com.longbridge.trade
Class FundPosition
- java.lang.Object
-
- com.longbridge.trade.FundPosition
-
public class FundPosition extends Object
Fund position
-
-
Constructor Summary
Constructors Constructor Description FundPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCostNetAssetValue()Returns the cost net asset value.StringgetCounterId()Returns the fund counter id (the ISIN is the last/-separated segment).StringgetCurrency()Returns the currency.BigDecimalgetCurrentNetAssetValue()Returns the current net asset value.BigDecimalgetHoldingUnits()Returns the holding units.OffsetDateTimegetNetAssetValueDay()Returns the date of the net asset value.StringgetSymbolName()Returns the fund name.StringtoString()
-
-
-
Method Detail
-
getCounterId
public String getCounterId()
Returns the fund counter id (the ISIN is the last/-separated segment).- Returns:
- fund counter id
-
getCurrentNetAssetValue
public BigDecimal getCurrentNetAssetValue()
Returns the current net asset value.- Returns:
- current net asset value
-
getNetAssetValueDay
public OffsetDateTime getNetAssetValueDay()
Returns the date of the net asset value.- Returns:
- net asset value date
-
getSymbolName
public String getSymbolName()
Returns the fund name.- Returns:
- fund name
-
getCurrency
public String getCurrency()
Returns the currency.- Returns:
- currency
-
getCostNetAssetValue
public BigDecimal getCostNetAssetValue()
Returns the cost net asset value.- Returns:
- cost net asset value
-
getHoldingUnits
public BigDecimal getHoldingUnits()
Returns the holding units.- Returns:
- holding units
-
-