Ejemplo n.º 1
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("underlying_para");
            xmlWriter.WriteElementString("type", "forwardModel");
            xmlWriter.WriteStartElement("forwardModel");
            tenorViewModel_.buildXml(xmlWriter);

            fittingYieldCurveViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Ejemplo n.º 2
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("underlying_para");
            xmlWriter.WriteElementString("type", "hullWhiteOneFactor");
            xmlWriter.WriteStartElement("hullWhiteOneFactor");
            xmlWriter.WriteElementString("alpha", this.alpha_);

            xmlWriter.WriteElementString("sigma", this.sigma_);

            tenorViewModel_.buildXml(xmlWriter);

            fittingYieldCurveViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }