Skip to content

Conversation

faysou
Copy link
Collaborator

@faysou faysou commented Aug 27, 2025

Simulation module to physically exercise options or close them properly at expiry (cash settlement for ITM index options or closing an OTM option to realise pnl).

@cjdsellers cjdsellers marked this pull request as draft August 27, 2025 23:42
@faysou faysou marked this pull request as ready for review August 28, 2025 14:12
@faysou faysou closed this Aug 28, 2025
@faysou faysou reopened this Aug 28, 2025
@faysou faysou marked this pull request as draft August 28, 2025 15:54
@faysou faysou force-pushed the option-exercise branch 6 times, most recently from f9f409f to 752d359 Compare August 30, 2025 23:40
@InMDev
Copy link

InMDev commented Aug 31, 2025

Underlying Instrument Lookup: Relies on str(instrument.id) .starts with(str (underlying_symbol)) - may want to make this stricter or configurable for tickers with ambiguous prefixes.

@faysou faysou marked this pull request as ready for review August 31, 2025 18:58
@cjdsellers
Copy link
Member

Thank you @faysou 🙏

@cjdsellers cjdsellers merged commit 8f35267 into develop Aug 31, 2025
13 checks passed
@cjdsellers cjdsellers deleted the option-exercise branch August 31, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants