-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
New signal-to-noise ratio for prices #26
Conversation
This may reopen the conversation about moving the OHLC functionality 'upstream' from quantmod to TTR. This pull request can't be merged as is, because quantmod requires TTR, so this creates a circular dependency. Also, CRAN only wants you to check and require another package if that package is in Suggests. otherwise they want you to have either put it in Requires or Imports |
Sorry, I'll remove those lines since they are unnecessary if the function postscript: just to be clear, this shouldn't reopen the conversation about OHLC functionality... On Apr 7, 2016 6:59 AM, "Brian G. Peterson" notifications@github.com
|
Some other items:
|
try.xts / reclass paradigm is used so all time series classes will be supported lag.xts is called explicitly
Fixed, thanks for the pointers. |
|
Directly calling for close column rather than using quantmod function Reclassed result to match input class
Ok, I missed the real circularity you were referring to. I've removed it. |
…o be consistent with ATR
Merged via 990da83. |
Here's a function for examining trendiness over a timeframe using ATR as a proxy for volatility. I think this fits the package, but let me know if you think it goes elsewhere. pcc