How to use a lookback period? #664
Unanswered
botradingblog1
asked this question in
Q&A
Replies: 1 comment
-
Have you went through the tutorials? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
just getting started with backtesting.py and it looks very promising.
I've been looking for a sample for using a lookback period.
Let's say I have a strategy that creates a signal when the MACD crosses a signal line. At the same time I want to check a certain RSI value in the last x days. How can access a range of RSI values during a lookback period?
Any examples greatly appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions