/** * Returns the gain for the position in the portfolio default currency (and * exchange currency if it differs). * * @return gain for the position in the portfolio default currency (and * exchange currency if it differs) */ public Gain getGain() { return getExtension(Gain.class); }
/** * Returns the today's gain for the position in the portfolio default currency * (and exchange currency if it differs). * * @return today's gain for the position in the portfolio default currency * (and exchange currency if it differs) */ public DaysGain getDaysGain() { return getExtension(DaysGain.class); }
/** * Returns the cost basis of the position in the portfolio default currency * (and exchange currency if it differs). * * @return cost basis of the position in the portfolio default currency (and * exchange currency if it differs) */ public CostBasis getCostBasis() { return getExtension(CostBasis.class); }
/** * Returns the gain for the position in the portfolio default currency (and * exchange currency if it differs). * * @return gain for the position in the portfolio default currency (and * exchange currency if it differs) */ public Gain getGain() { return getExtension(Gain.class); }
/** * Returns the market value of the position in the portfolio default currency * (and exchange currency if it differs). * * @return market value of the position in the portfolio default currency (and * exchange currency if it differs) */ public MarketValue getMarketValue() { return getExtension(MarketValue.class); }
/** * Returns the cost basis of the position in the portfolio default currency * (and exchange currency if it differs). * * @return cost basis of the position in the portfolio default currency (and * exchange currency if it differs) */ public CostBasis getCostBasis() { return getExtension(CostBasis.class); }
/** * Returns the today's gain for the position in the portfolio default currency * (and exchange currency if it differs). * * @return today's gain for the position in the portfolio default currency * (and exchange currency if it differs) */ public DaysGain getDaysGain() { return getExtension(DaysGain.class); }
/** * Returns the market value of the position in the portfolio default currency * (and exchange currency if it differs). * * @return market value of the position in the portfolio default currency (and * exchange currency if it differs) */ public MarketValue getMarketValue() { return getExtension(MarketValue.class); }