Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATR <- stats::lag(ATR, lag) #10

Open
jmrichardson opened this issue Aug 1, 2017 · 0 comments
Open

ATR <- stats::lag(ATR, lag) #10

jmrichardson opened this issue Aug 1, 2017 · 0 comments

Comments

@jmrichardson
Copy link

Hi,

I am using tidyquant which loads dplyr. Unfortunately, the lag function from dplyr is masking the lag from stats. Would you consider updating your lagATR function to explicitly call stats::lag(ATR,lag)?

I currently have the following hack prior to applyIndicators:

lag <- stats::lag
applyIndicators(strategy.st, mktdata=OHLC(MSFT))

Thank you for this great package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant