4

Is this to be expected or is there something wrong with the model?

I am getting scattered gamma plots for all types of barriers like U&O, D&I, etc enter image description here


However a basic vanilla options has a smooth gamma plot. enter image description here

2 Answers2

4

Your gamma seems to be "quantized" like if your calculation happens to be at the machine limit in term of precision. Maybe you aren't using a "dS" large enough if you compute derivatives using a finite difference approach.

Try increase the step for your numerical calculation.

0

it had to do with dS being too small. After changing dS from .0001 to .01 the scattered plots went away

  • 2
    Thx for the update but your answer looks like confirmation of @PC1's answer rather than a separate answer. – Alper Dec 13 '21 at 19:08
  • it was a coincidence. if you look at the timestamps in made my post before pc1 but its good to know we found the same solution – vanilla_skies Oct 12 '22 at 20:57
  • It might still have been a coincidence of course if you did not see it, but you are wrong about your answer being earlier than @PC1’s; that answer has been posted in November 2021 while yours has been posted in December 2021. – Alper Oct 12 '22 at 23:09