| filter_between | R Documentation |
Selects stocks with signal values between lower and upper bounds.
filter_between(signal_df, lower, upper)
signal_df |
Data frame with signal values |
lower |
Lower bound (inclusive) |
upper |
Upper bound (inclusive) |
Binary selection matrix
data("sample_prices_weekly")
rsi <- calc_rsi(sample_prices_weekly, 14)
# Select stocks with RSI between 30 and 70
neutral_rsi <- filter_between(rsi, 30, 70)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.