-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
The FindOptimalSide enumeration needs to be modified to include a new option called Deltable. This option will allow selecting strikes in a strategy that ensure delta neutrality. In a two-position strategy, it prevents both positions from having a positive or negative delta simultaneously. Instead, one position must have a positive delta while the other has a negative delta.
This enhancement will improve flexibility in finding optimal pricing sides for strategies that require balanced delta exposure.
Tasks
Implementation:
- Add the
Deltablevariant toFindOptimalSide. - Modify the search logic to support
Deltable, ensuring that in two-position strategies:- One position has a positive delta.
- The other position has a negative delta.
Testing:
- Implement unit tests for
Deltable, verifying that:- Strike selection follows the delta-neutral condition.
- Configurations where both positions have a positive or negative delta are avoided.
- Include tests for different market scenarios.
Documentation:
- Update the
FindOptimalSidedocumentation to describe theDeltableoption and its purpose. - Provide examples of using
Deltablein delta-neutral strategies.
Additional Notes
- The implementation should be efficient and align with the existing system logic.
- Ensure that this feature does not break compatibility with current strategies.
Labels
enhancement, options-trading, delta-neutral, testing, documentation
Metadata
Metadata
Assignees
Labels
No labels