aShortStock | R Documentation |
On initiation, this is a net credit Strategy and results in net cash inflow in the form of receiving the unit price of shorted share. On the day of the covering the trader or investor has to buy the underlying stock at the price at the time of covering. If the bearish outlook of the trader is as expected and the stock price falls then the trader makes the profit as shown in the graph (Hull, 2022).
aShortStock( ST, S0, C = 0, hl = 0.8, hu = 1.1, xlab = "Share Price @ covering", ylab = " Profit / Loss [PnL] at covering ($)", main = "Shorting a Stock [ PnL]" )
ST |
a number. |
S0 |
a number. |
C |
a number. |
hl |
a number. |
hu |
a number. |
xlab |
X-axis label. |
ylab |
Y-axis label. |
main |
Title of the Graph. |
According to the information provided by Hull (2019), this method is developed, and the given examples are created to compute per share Profit and Loss at covering of the shorted stock and draws its graph in the Plots tab.
Returns a graph of the strategy.
MaheshP Kumar, maheshparamjitkumar@gmail.com
Hull, J. C. (2022). Options, Futures, and Other Derivatives (11th ed.). Pearson Education (US). https://bookshelf.vitalsource.com/books/9780136940043
aShortStock(51,52) aShortStock(1000,1009,hl=0.995,hu=1.015)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.