Theoretical calculation with T=0.1

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

Theoretical calculation with T=0.1

Stephen Tse-2
Hi all,

  I'm calculating theoretical option prices under the Heston model. How can I get around the day counting to specify a maturity of exactly 0.1 year?

Thanks,
Stephen

--
Stephen Tse
http://www.cs.uwaterloo.ca/~sttse/

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Theoretical calculation with T=0.1

David Klein-9

>  I'm calculating theoretical option prices under the Heston model. How can I get around the day counting to specify a maturity of exactly 0.1 year?

 

I am not really familiar with quantlib, but here is a suggestion that might work: Set the daycount to ACT/360 and use a maturity of 36 days.

 

 

David Klein
Senior Quantitative Analyst
T. +972  3 608
1627
F. +972  3 695 5897
M.+972 54 589 0333
E. [hidden email]
www.sdgm.com

 

 

 

 

 

 

 

 

 

 

 


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Theoretical calculation with T=0.1

Kakhkhor Abdijalilov
In reply to this post by Stephen Tse-2
I use NullCalendar and ActualActual day counter to do theoretical
calculations. I think 36 days to maturity  would make T=0.1 years. Try
it with NullCalendar::advance and ActualActual::yearFraction. But I
don't know how to make something like T=0.111. Does anyone know?

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users