user21987914
user21987914

Reputation: 1

Fix tidyquant tq_get returning NULL for currency trading pairs

If I execute the following command in r

exchange_rates <- tq_get("EUR/USD", get = "exchange.rates", from = "2018-04-01", to = "2023-04-30")

there are no error but the resulting variable is empty:

> exchange_rates
NULL

Is there anything wrong in the way I'm using tq_get? Pulling stock data works just fine.

Thank you for any thoughts or tips you can spare!

EDIT: thank you @AdroMine; get = "exchange.rates" is no longer a supported function of tq_get

Upvotes: 0

Views: 99

Answers (0)

Related Questions