I have been playing with QuantLib for some time. This is a great framework with amazing design and capabilities. However, one thing that I find hard to understand is the way it handles the price of option on maturity date. As far as I understand, it simply equates option price to zero on maturity date. However, I find this behavior is kind of awkward in some certain situations. Will it be better off if the framework figures out something else, e.g. the intrinsic value of the option on the maturity date, rather than just a zero.
So my question is is there any globe settings can be used to override this behavior?
If the answer is yes, please kindly instruct how to do it? If no, please kindly explain the reason behind this?
Thanks in advance!