public abstract static class MarketView.Logic extends Object
Constructor and Description |
---|
Logic() |
Modifier and Type | Method and Description |
---|---|
static FinancePortfolio |
evaluateViewPortfolio(MarketView view,
FinancialMarket market,
MarketView.Evaluator evaluator,
MarketView.Evaluation evaluation) |
static SimpleAsset |
makeDefinitionAsset(MarketView.Asset asset,
FinancialMarket market) |
static FinancePortfolio |
makeDefinitionPortfolio(List<? extends MarketView.Asset> assets,
FinancialMarket market) |
static FinancePortfolio |
makeMarketViewPortfolio(MarketView marketView) |
static FinancePortfolio |
makeMarketViewPortfolio(MarketView marketView,
FinancialMarket market,
FinancialMarket.Asset asset) |
static Color |
mixColours(Collection<? extends MarketView.Asset> assets) |
public static FinancePortfolio evaluateViewPortfolio(MarketView view, FinancialMarket market, MarketView.Evaluator evaluator, MarketView.Evaluation evaluation)
public static SimpleAsset makeDefinitionAsset(MarketView.Asset asset, FinancialMarket market)
public static FinancePortfolio makeDefinitionPortfolio(List<? extends MarketView.Asset> assets, FinancialMarket market)
public static FinancePortfolio makeMarketViewPortfolio(MarketView marketView)
public static FinancePortfolio makeMarketViewPortfolio(MarketView marketView, FinancialMarket market, FinancialMarket.Asset asset)
public static Color mixColours(Collection<? extends MarketView.Asset> assets)