Description Usage Arguments Note References See Also Examples
The bull() function generates a graph showing the profit and loss of bull spread trading strategies using call or put options. The reason why the bull market spreads strategy is constructed is that it is bullish on the market.
1 |
K1 |
Execution Price of Option 1 |
opt1 |
Price of option 1 |
K2 |
Execution Price of Option 2 |
opt2 |
Price of Option 2 |
type |
Specifies whether to use call option or put option to carry bear market spread arbitrage. If it is a call option, use type = "call", indicating that the strategy is to buy a call option with a low execution price and sell a call option with a high execution price; if it is a put option, use type = "put", indicating that the strategy is to buy a put option with a low execution price and sell a put option with a high execution price. The default value is "call". |
If there is a mutual occlusion problem in the image, you can run the dev. new () command first. If there is still occlusion problem, you can directly run bull command to call out the source code of the function, and eliminate the occlusion problem by modifying the corresponding graphic parameters.
OTS package, WangXu seniorwangxu@sina.com
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.