Ejemplo n.º 1
0
        public void SetCustomerAutomaticOptionExercisingInformation(string customerCode, string customerAccountCode, string tradeSector, CustomerAutomaticOptionExercisingViewModel viewModel)
        {
            CustomerAutomaticOptionExercisingInformation information = Mapper.Map <CustomerAutomaticOptionExercisingViewModel, CustomerAutomaticOptionExercisingInformation>(viewModel);

            information.CustomerCode        = customerCode;
            information.CustomerAccountCode = customerAccountCode;
            information.TradeSector         = tradeSector;
            information.TradingAccount      = DefaultTradeSector;

            _portfolioManager.SetAutomaticOptionExercisingParameters(information);
        }