powered by
Selects stocks with signal values between lower and upper bounds.
filter_between(signal_df, lower, upper)
Binary selection matrix
Data frame with signal values
Lower bound (inclusive)
Upper bound (inclusive)
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)
Run the code above in your browser using DataLab