-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cci keltner #28
Cci keltner #28
Conversation
Have you gotten correct output from cci(ohlc,9) ohlc is a 505-row object in MarketData |
corrected error in cci function
error corrected. |
removed redundant timestamp
removed the redundant timestamp variable |
Excellent, let's keep going. We need to add tests, which should be done by adding to the test/momentum.jl file. The correct answers are: cci(ohlc).values[1] => 123.823
cci(ohlc).timestamp[1] => date(1980,1,31)
cci(ohlc).values[end] => -64.314384 |
After adding tests, it's simple to test them from repl using FactCheck
@runtest MarketTechnicals momentum Once those are passing, that's the last piece, and then we can go through the keltner code and do the same. And then when we're done, we need to |
I'll add tests later. |
added functions of cci and keltnerbands