Hi
you might want to consider to use Peter's FdmTimeDepDirichletBoundary, which allows you to specify a time dependent value for the Dirichlet boundary condition.
If your barrier is only monitor using the closing prices but not with any intra day quotes then maybe you should only use one time step per day.
regards
Klaus
On Wednesday, July 17, 2013 01:42:55 PM Haoyun XU wrote:
Hi,
I am considering pricing daily monitored barrier options with QuantLib. For this to work, I need to set up boundary conditions depending on time steps. More specifically, barriers are only active at specified steps (day end).
I wonder how can I do this? Does the FdmDirichletBoundary class support different boundary & boundary values at different time steps?
Many thanks!
Best,
Henry
| Free forum by Nabble | Edit this page |