bradlindblad / GDAX_Trader

74 stars 39 forks source link

Incorrect number of dimensions #2

Open Miguel0809 opened 3 years ago

Miguel0809 commented 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?

adamek2120 commented 2 years ago

I have the same issue