Parameters
Subtype of Portfolio SpecThis is probably the easiest method for creating a Portfolio out of raw input parameters.
An example is when one needs to build a portfolio of bonds issued by the same issuer that are similar in all respects except of the coupon rate and maturity.
Rather than building each bond separately, the method here can be used to create the portfolio in one single step.
All is needed to be specified as input is a Deriscope Type and two sets of Key-Value pairs defined in the keys Common Params and Varying Params respectively.
Then the portfolio is created with all the constituent tradables sharing the given Deriscope Type
Behind the scenes, the tradables are built through an invocation of the given type's Create function with input assembled by the two provided Key-Value pairs
