joshuaulrich / TTR

Technical analysis and other functions to construct technical trading rules with R
GNU General Public License v2.0
325 stars 102 forks source link

Update runFun.R #110

Closed ethanbsmith closed 3 years ago

ethanbsmith commented 3 years ago

runXXX functions were forcing the first value to always be NA when n = 1 and cumulative = T when n =1 the first value should be the same, regardless of whether cumulative = T or cumulative = F

closes #108

ethanbsmith commented 3 years ago

made a mess of the commits. sorry, will clean them up and resubmit