Re: Small error in QuantLibXL (leg.xml)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Small error in QuantLibXL (leg.xml)

Luigi Ballabio
Fixed, thanks.

Luigi

On Fri, Oct 19, 2012 at 6:49 PM, Sebastian Poloczek
<[hidden email]> wrote:

>
> 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:
>   <!-- Leg Date functions -->
>
>     <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'/>
>         <!--SupportedPlatform name='Cpp'/-->
>       </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'/>
>         <!--SupportedPlatform name='Cpp'/-->
>       </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
>
> --
> View this message in context: http://old.nabble.com/Small-error-in-QuantLibXL-%28leg.xml%29-tp34576796p34576796.html
> Sent from the quantlib-dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev