DO NOT MERGE: Universal arrangement
This is experimental for discussion and demonstration. Please do not merge.
Here I rearrange AnyHedge into the pieces that would be needed for it to adapt to an options contract. Please check it out. I also tried to improve the comments but sorry that adds noise to the changes. I will point out the critical changes below.
Edited by Emergent Reasons