Constructor and Description |
---|
Logic() |
Modifier and Type | Method and Description |
---|---|
static BigDecimal |
calculateOffset(Portfolio aPortfolio,
boolean reduced) |
static int |
countActiveWorkSets(Portfolio aPortfolio) |
static List<Instrument> |
getInstruments(Portfolio aPortfolio) |
static List<BigDecimal> |
getShares(Portfolio aPortfolio) |
static boolean |
isActiveInMoreThanOneWorkSet(Portfolio aPortfolio) |
static String |
toDisplayString(Portfolio aPortfolio) |
public static BigDecimal calculateOffset(Portfolio aPortfolio, boolean reduced)
public static int countActiveWorkSets(Portfolio aPortfolio)
public static List<Instrument> getInstruments(Portfolio aPortfolio)
public static List<BigDecimal> getShares(Portfolio aPortfolio)
public static boolean isActiveInMoreThanOneWorkSet(Portfolio aPortfolio)