protected ValoracionDeLosISINDeUnaEntidad UnaValoracionConUnISINEnDolares() { List <ISIN> listaDeISINEnColones = new List <ISIN>(); List <ISIN> listaDeISINEnDolares = new List <ISIN>(); ISIN unISINEnDolares = new ISIN(); unISINEnDolares.NumeroISIN = "HDA000000000001"; unISINEnDolares.fechaDeVencimientoDelValorOficial = new DateTime(2016, 1, 7); unISINEnDolares.diasMinimosAlVencimientoDelEmisor = 7; unISINEnDolares.porcentajeCobertura = 0.8M; unISINEnDolares.precioLimpioDelVectorDePrecios = 80; unISINEnDolares.montoNominalDelSaldo = 1000; listaDeISINEnDolares.Add(unISINEnDolares); List <ISIN> listaDeISINEnUDESAnotadosEnCuenta = new List <ISIN>(); List <ISIN> listaDeISINEnUDESNoAnotadosEnCuenta = new List <ISIN>(); DateTime fechaActual = new DateTime(2016, 1, 1); decimal tipoDeCambioDeUDESDeAyer = 745; decimal tipoDeCambioDeUDESDeHoy = 750; return(GeneracionDeUnaValoracionPorEntidad.GenereLaValoracion( listaDeISINEnColones, listaDeISINEnDolares, listaDeISINEnUDESAnotadosEnCuenta, listaDeISINEnUDESNoAnotadosEnCuenta, fechaActual, tipoDeCambioDeUDESDeAyer, tipoDeCambioDeUDESDeHoy)); }
protected ValoracionDeLosISINDeUnaEntidad UnaValoracionSinNingunISIN() { List <ISIN> listaDeISINEnColones = new List <ISIN>(); List <ISIN> listaDeISINEnDolares = new List <ISIN>(); List <ISIN> listaDeISINEnUDESAnotadosEnCuenta = new List <ISIN>(); List <ISIN> listaDeISINEnUDESNoAnotadosEnCuenta = new List <ISIN>(); DateTime fechaActual = new DateTime(2016, 1, 1); decimal tipoDeCambioDeUDESDeAyer = 745; decimal tipoDeCambioDeUDESDeHoy = 750; return(GeneracionDeUnaValoracionPorEntidad.GenereLaValoracion( listaDeISINEnColones, listaDeISINEnDolares, listaDeISINEnUDESAnotadosEnCuenta, listaDeISINEnUDESNoAnotadosEnCuenta, fechaActual, tipoDeCambioDeUDESDeAyer, tipoDeCambioDeUDESDeHoy)); }