Time less than a day

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

Time less than a day

omar b-2
How do a deal with time in increments less than one day.  For example,
how do I compute a vanilla european call with time left to expiration
of .5 days.

Thanks,
Omar


Express yourself - download free Windows Live Messenger themes! Get it now!
Reply | Threaded
Open this post in threaded view
|

Re: Time less than a day

Luigi Ballabio
On Sat, 2006-10-14 at 15:03 -0700, Omar B wrote:
> How do a deal with time in increments less than one day.  For example,
> how do I compute a vanilla european call with time left to expiration
> of .5 days.

Omar,
        at this time, date objects don't have such resolution---they should be
augmented with a time field, but we still don't have a clear idea about
how to do it.  For the time being, you'll have to use the BlackFormula
class; however, this will force you to perform some of the calculations
yourself (e.g., you'll have to calculate the forward value and variance
of the underlying.)

Later,
        Luigi


----------------------------------------

For every problem there is one solution which is simple, neat, and
wrong.
-- H. L. Mencken