Package com.longbridge.portfolio
Class ProfitAnalysisItem
- java.lang.Object
-
- com.longbridge.portfolio.ProfitAnalysisItem
-
public class ProfitAnalysisItem extends Object
P&L for one security.
-
-
Field Summary
Fields Modifier and Type Field Description longclearanceTimesNumber of completed trades.StringcurrencyCurrency.BigDecimalderivativesProfitDerivatives P&L.StringholdingPeriodHolding period display string.booleanisHoldingWhether still holding.StringisinISIN (for funds).AssetTypeitemTypeAsset type.StringmarketMarket.StringnameSecurity name.BigDecimalorderProfitP&L in order currency.BigDecimalprofitProfit/loss amount.BigDecimalprofitRateProfit/loss rate.StringsecurityCodeTicker code.StringsymbolSecurity symbol.BigDecimalunderlyingProfitUnderlying stock P&L.
-
Constructor Summary
Constructors Constructor Description ProfitAnalysisItem()
-
-
-
Field Detail
-
name
public String name
Security name.
-
market
public String market
Market.
-
isHolding
public boolean isHolding
Whether still holding.
-
profit
public BigDecimal profit
Profit/loss amount.
-
profitRate
public BigDecimal profitRate
Profit/loss rate.
-
clearanceTimes
public long clearanceTimes
Number of completed trades.
-
itemType
public AssetType itemType
Asset type.
-
currency
public String currency
Currency.
-
symbol
public String symbol
Security symbol.
-
holdingPeriod
public String holdingPeriod
Holding period display string.
-
securityCode
public String securityCode
Ticker code.
-
isin
public String isin
ISIN (for funds).
-
underlyingProfit
public BigDecimal underlyingProfit
Underlying stock P&L.
-
derivativesProfit
public BigDecimal derivativesProfit
Derivatives P&L.
-
orderProfit
public BigDecimal orderProfit
P&L in order currency.
-
-