Open Miguel0809 opened 3 years ago
Hello!
When I run the function
curr_rsi14_api <- function(x){ df <- rgdax::public_candles(product_id = "ETH-USD", granularity = 900) rsi_gdax <- tail(TTR::RSI(df[,5], n = 14), n = 1) rsi_gdax }
Show up a Error in Console of RStudio "Error in df[, 5] : incorrect number of dimensions".
What to do to fix the script?
I have the same issue
Hello!
When I run the function
curr_rsi14_api <- function(x){ df <- rgdax::public_candles(product_id = "ETH-USD", granularity = 900) rsi_gdax <- tail(TTR::RSI(df[,5], n = 14), n = 1) rsi_gdax }
Show up a Error in Console of RStudio "Error in df[, 5] : incorrect number of dimensions".
What to do to fix the script?