Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public DalFactorComputationArgs(IFactorConfiguration _factorConfiguration)
 {
     Ingredients  = _factorConfiguration.Factor.Ingredients;
     Anchors      = _factorConfiguration.Weights.Keys.Select(_instrument => _instrument.GetAnchor(_factorConfiguration.Factor.FactorIngredientAnchor));
     TimeInterval = _factorConfiguration.TimeInterval;
 }