powered by
Based on dividend yield.
tradeStrategyDY(data, par1value = 50, par2value = 200)
Dataframe with indicators, signals, trades and profit and loss. tibble
tibble
Dataframe of OHLC data e.g. RTL::uso. tibble
Value of first parameter e.g. short MA. numeric
numeric
Value of second parameter e.g. long MA. numeric
Philippe Cote
tradeStrategyDY(data = RTL::stocks$ry, par1value = 50, par2value = 200)
Run the code above in your browser using DataLab