Adding loop parameter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding loop parameter

Hyung-Seok Hahm
Hi,

I need to add a loop parameter in a new function that I've added to QuantLibXL library. 

The list of the loop parameters implemented is published at 


However, I do not see the way that it can be done. Can anyone tell me how to do this?

Thanks!

--

Hyungseok Hahm, PhD, FRM   

Quantitative Analyst 

Industrial Bank of Korea

Trading Department

Tel      : 82-2-729-7081

Fax       : 82-2-729-6084

E-mail  : [hidden email]

Yahoo Msn : hyungseok.hahm

Google Talk : hs.hahm.ibk[hidden email]

LinkedIn: http://kr.linkedin.com/pub/dir/Hyung-seok/Hahm



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Adding loop parameter

Eric Ehlers-2
Hi Hyung,

On 2012-08-31 09:11, Hyung-Seok Hahm wrote:

> Hi,
>
> I need to add a loop parameter in a new function that I've added to
> QuantLibXL library. 
>
> The list of the loop parameters implemented is published at 
>
> http://quantlib.org/quantlibaddin/loops.html [1]
>
> However, I do not see the way that it can be done. Can anyone tell me
> how to do this?

This answer is ridiculously late so I suppose it's just for the
archives.

Loop parameters are configured in the XML files in directory
QuantLibAddin/gensrc/metadata/functions, for example in file index.xml,
for function qlIndexIsValidFixingDate:

     <Member name='qlIndexIsValidFixingDate' type='QuantLib::Index'
loopParameter='FixingDate'>

Regards,
Eric

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users