Learn R Programming

bullishTrader (version 1.0.1)

coveredCall: Calculates Profit and Loss (PnL) per share (or unit of the underlying) and Breakeven (BE) point at expiration for Covered Call and draws its graph in the Plots tab.

Description

This strategy is also known as buy-write strategy that results from buying stock and writing a call option with a strike price X against the stock position. The outlook of trader or investor on the stock price is neutral to bullish. The covered call strategy has the same payoff as writing a put option (short/naked put). While maintaining the long stock position, the trader can generate income by periodically selling OTM call options (Kakushadze & Serur, 2018).

Usage

coveredCall(
  ST,
  X,
  C,
  S0,
  hl = 0,
  hu = 1.5,
  xlab = "Spot Price ($) on Expiration",
  ylab = "Profit / Loss [ PnL ] at Expiration ($)",
  main = "Covered Call ",
  sub = "bullishTrader / MaheshP Kumar"
)

Value

returns a profit and loss graph of Covered Call.

Arguments

ST

Spot Price at time T.

X

Strike Price or eXercise price.

C

Call Premium received on shorted call.

S0

Initial Stock Price

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.

sub

Subtitle of the Graph.

Author

MaheshP Kumar, maheshparamjitkumar@gmail.com

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 per share Profit and Loss at expiration and Breakeven (BE) point for Covered Call and draws its graph in the Plots tab.

References

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

Examples

Run this code
coveredCall(17,17,1.44,15.84)
coveredCall(50,50,4,48,hl=0.7,hu=1.2)
coveredCall(1000,1000,10,990,hl=0.97,hu=1.02)

Run the code above in your browser using DataLab