public static IFactorReport <T> Compute <T>(IFactorConfiguration _factorConfiguration) where T : IInternalInstrument { var anchors = _factorConfiguration.Weights.Keys.ToDictionary(_instrument => _instrument.GetAnchor(_factorConfiguration.Factor.FactorIngredientAnchor)); //var dalReport = FactorCalculator.Compute(new DalFactorComputationArgs(_factorConfiguration)); return(null); }
public DalFactorComputationArgs(IFactorConfiguration _factorConfiguration) { Ingredients = _factorConfiguration.Factor.Ingredients; Anchors = _factorConfiguration.Weights.Keys.Select(_instrument => _instrument.GetAnchor(_factorConfiguration.Factor.FactorIngredientAnchor)); TimeInterval = _factorConfiguration.TimeInterval; }