View source: R/tradeStrategyDY.R
tradeStrategyDY | R Documentation |
Based on dividend yield.
tradeStrategyDY(data, par1value = 50, par2value = 200)
data |
Dataframe of OHLC data e.g. RTL::uso. |
par1value |
Value of first parameter e.g. short MA. |
par2value |
Value of second parameter e.g. long MA. |
Dataframe with indicators, signals, trades and profit and loss. tibble
Philippe Cote
tradeStrategyDY(data = RTL::stocks$ry, par1value = 50, par2value = 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.