Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect number of dimensions #2

Open
Miguel0809 opened this issue Aug 17, 2021 · 1 comment
Open

Incorrect number of dimensions #2

Miguel0809 opened this issue Aug 17, 2021 · 1 comment

Comments

@Miguel0809
Copy link

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
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants