I am looking at creating an ML model to price an exotic equity option which has a barrier where the buyer is paid out if the barrier is crossed, and multiple observation dates where the price is checked if it has crossed the barrier.
I am struggling to figure out the best way to represent a dividend schedule. It is important that this is accurate as ex-dividend dates close to observation dates can significantly affect the price as the underlying generally falls proportionally to the dividend paid out.
If you have any ideas or have done this before, any help is appreciated!