method to generate the market valuation expression for a given portfolio and a given subset of item classes.
# S3 method for portfolio
generateExpression(object, market.item.types, market.risk,
standalone = NULL, ...)
S3 object of class portfolio.
character value indicating the item classes for which the market expression should be computed and aggregated, this should be a subset of the following values:
asset
cashflow
liability
assetForward
fxForward
delta
you can also provide the value "all", in this case all market item expressions in the portfolio are computed and aggregated.
S3 object of class marketRisk.
S3 object of class standalone.
additional arguments.
a character value, the market expression.