This consists of a long position in an OTM (out of the money) put option with a strike price $X1L, short positions in two ATM ( at the money) put options with a strike price $X, and a long position in an ITM (in the money) put option with a strike price $X3H. The strikes are equidistant: $X3H minus $X equals to $X minus $X1L (Kakushadze & Serur, 2018).
longPutButterfly(
ST,
X,
X1L,
X3H,
P,
P1L,
P3H,
hl = 0,
hu = 2,
spot = spot,
pl = pl,
myData = myData,
myTibble = myTibble,
PnL = PnL
)graph of the strategy
Spot Price at time T.
Strike Price or eXercise price for two ATM sold puts.
Lower Strike Price or eXercise price for one OTM long put.
Higher Strike Price or eXercise price for one ITM long put.
put Premium or put Price received for the two ATM sold puts.
put Premium or put Price paid for the first OTM long put.
put Premium or put Price paid for the one ITM long put.
lower bound value for setting lower-limit of x-axis displaying spot price.
upper bound value for setting upper-limit of x-axis displaying spot price.
Spot Price
Profit and Loss column of the data frame
Data frame
Tibble
Profit and Loss
MaheshP Kumar, maheshparamjitkumar@gmail.com
According to conceptual details given by Cohen (2015), and a closed form solution provided by Kakushadze and Serur (2018), this method is developed, and the given examples are created, to compute per share Profit and Loss at expiration for Long put Butterfly Option Strategy and draw its graph in the Plots tab.
Cohen, G. (2015). The Bible of Options Strategies (2nd ed.). Pearson Technology Group.
Kakushadze, Z., & Serur, J. A. (2018, August 17). 151 Trading Strategies. Palgrave Macmillan. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3247865
R Graphics Cookbook. (n.d.). Coloring Negative and Positive Bars Differently. https://r-graphics.org/recipe-bar-graph-color-neg
Gross C, Ottolinger P (2016).ggThemeAssist: Add-in to Customize 'ggplot2' Themes. R package version 0.1.5, <URL: https://CRAN.R-project.org/package=ggThemeAssist>.
longPutButterfly(100,100,80,120,6,1,20,hl=0.55,hu=1.45)
Run the code above in your browser using DataLab