as.OptPos {QFRM} | R Documentation |
Coerce an argument to OptPos
class.
Description
Coerce an argument to OptPos
class.
Usage
as.OptPos(o = Opt(), Pos = c("Long", "Short"), Prem = 0)
Arguments
o |
A |
Pos |
Specify position direction in your portfolio. |
Prem |
Option premium, i.e. cost of an option purchased or to be purchased. |
Value
An object of class OptPos
.
Author(s)
Oleg Melnikov
Examples
as.OptPos(Opt())
[Package QFRM version 1.0.1 Index]