bearCallSpreadPnLatExpiration {bearishTrader} | R Documentation |
Calculates Profit and Loss (pnL) at expiration per share or unit of the underlying for Bear Call Spread and draws its graph in the Plots tab.
Description
The trader writes a call option at a lower strike price and purchases a call option at a higher strike price on the same underlying stock with the same expiration date. So the options are identical in all aspects except for the strike price. Since the lower-strike call trades at a higher price, the trader receives a net credit when the spread is established. The bear call spreader hopes the price of the underlying stock will drop below the strike price of the written option, in which case both options will expire worthless, and he or she can keep the net credit received when the position was initiated (Kakushadze & Serur, 2018).
Usage
bearCallSpreadPnLatExpiration(
ST,
XH,
XL,
CH,
CL,
hl = 0,
hu = 1.5,
xlab = "Spot Price ($) at Expiration",
ylab = " Profit / Loss [PnL] at Expiration ($)",
main = "Bear Spread using Calls [ PnL ]"
)
Arguments
ST |
Spot Price at time T. |
XH |
higher Strike Price or eXercise price. |
XL |
lower Strike Price or eXercise price. |
CH |
Call Premium on higher Strike. |
CL |
Call Premium on lower strike. |
hl |
lower bound value for setting lower-limit of x-axis displaying spot price. |
hu |
upper bound value for setting upper-limit of x-axis displaying spot price. |
xlab |
X-axis label. |
ylab |
Y-axis label. |
main |
Title of the Graph. |
Details
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 Profit and Loss (pnL) at expiration per share or unit of the underlying for Bear Call Spread and draw its graph in the Plots tab. EXAMPLE, Buy HypoPharma December 19 call at $2.00 (outflow) and Write HypoPharma December 16 call at $3.00 (inflow). So, the trader paid a call premium of $2 per share on bought call at $19 (XH) and received a Call Premium of $3 per share sold call at $16 (lower strike represented by XL). This results in net cash inflow and hence a net credit. This is a vertical spread consisting of a long position call option with a strike price XH, and a short position in another OTM call option with a lower strike price XL. This is a net credit trade involving a net cash inflow. The outlook of trader is bearish. The graph gets displayed in Plots tab.
Value
Returns a graph of the strategy.
Author(s)
MaheshP Kumar, maheshparamjitkumar@gmail.com
References
Cohen, G. (2015). The Bible of Options Strategies (2nd ed.). Pearson Technology Group. https://bookshelf.vitalsource.com/books/9780133964448
Kakushadze, Z., & Serur, J. A. (2018, August 17). 151 Trading Strategies. Palgrave Macmillan. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3247865
Examples
bearCallSpreadPnLatExpiration(19,19,16,2,3)
bearCallSpreadPnLatExpiration(45,45,40,0.50,2,hl=0.8,hu=1.2)
bearCallSpreadPnLatExpiration(500,500,492,3,8,hl=0.95,hu=1.02)