|
Hi,
I do not know if this is the right place to report small errors/typos in the quantlib environment. Given that I don't know any other place I will post it here this time.
In the QuantLibAddin\gensrc\metadata\functions\leg.xml the static function QuantLib::CashFlows::startDate is called for qlLegStartDate and qlLegMaturityDate. I suppose the latter is not the expected behaviour:
<Procedure name='qlLegStartDate'> <description>Returns the start (i.e. first accrual) date for the given Leg object.</description> <alias>QuantLib::CashFlows::startDate</alias> <<-------------------------------------------
<SupportedPlatforms> <SupportedPlatform name='Excel'/> </SupportedPlatforms> <ParameterList> <Parameters> <Parameter name='ObjectId'> <type>QuantLib::Leg</type> <superType>underlyingClass</superType> <tensorRank>scalar</tensorRank> <description>id of existing QuantLib::Leg object</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> <type>QuantLib::Date</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure>
<Procedure name='qlLegMaturityDate'> <description>Returns the maturity (i.e. last payment) date for the given Leg object.</description> <alias>QuantLib::CashFlows::startDate</alias> <<----------------------------------------------
<SupportedPlatforms> <SupportedPlatform name='Excel'/> </SupportedPlatforms> <ParameterList> <Parameters> <Parameter name='ObjectId'> <type>QuantLib::Leg</type> <superType>underlyingClass</superType> <tensorRank>scalar</tensorRank> <description>id of existing QuantLib::Leg object</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> <type>QuantLib::Date</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure>
Regards,
Sebastian
|