powered by
OptPos
Opt
OptPos(o = Opt(), Pos = c("Long", "Short"), Prem = 0)
Long
Short
OptPx
OptPos() # Creates an S3 object for an option contract OptPos(Opt(Right='Put')) #See J.C.Hull, OFOD'2014, 9-ed, Fig.13.10, p.289
Run the code above in your browser using DataLab