powered by
This function will use the json api to retrieve live prices from Yahoo finance.
yf_live_prices(ticker)
a tibble with live prices
a single ticker symbol
yfR::yf_live_prices("PETR4.SA")
Run the code above in your browser using DataLab