Learn R Programming

yfR (version 1.1.0)

yf_live_prices: Yahoo Finance Live Prices

Description

This function will use the json api to retrieve live prices from Yahoo finance.

Usage

yf_live_prices(ticker)

Value

a tibble with live prices

Arguments

ticker

a single ticker symbol

Examples

Run this code
yfR::yf_live_prices("PETR4.SA")

Run the code above in your browser using DataLab