Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Dividend Yield is not considered in ImpliedVolatility and Delta

Open LouisSzeto opened this issue 1 year ago • 0 comments

Expected Behavior

According to Black-Scholes-Merton model, continuous dividend yield shall be handled when estimating IV and Delta

Actual Behavior

The current ImpliedVolatility and Delta indicators are not handling, so the result are diverging from IB.

Potential Solution

Implement dividend yield into the indicators

Reproducing the Problem

Current unit tests have high errors from deep ITM/OTM options when comparing with IB's number.

System Information

N/A

Checklist

  • [X] I have completely filled out this template
  • [X] I have confirmed that this issue exists on the current master branch
  • [X] I have confirmed that this is not a duplicate issue by searching issues
  • [X] I have provided detailed steps to reproduce the issue

LouisSzeto avatar Feb 02 '24 04:02 LouisSzeto