tradeStrategyDY {RTL} | 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)