Learn R Programming

lares (version 5.0.3)

stocks_quote: Download Stocks Current Data

Description

This function lets the user download stocks live data.

Usage

stocks_quote(ticks)

Arguments

ticks

Character Vector. Symbols/Tickers to quote in real time.

Value

data.frame with Symbol, Type of stock, Quote time, current value, Daily Change, Market, and Symbol Name.

See Also

Other Investment: daily_portfolio(), daily_stocks(), etf_sector(), splot_change(), splot_etf(), splot_growth(), splot_roi(), splot_summary(), splot_types(), stocks_file(), stocks_hist(), stocks_obj(), stocks_report()

Other Scrapper: filesGD(), get_mp3(), holidays(), ip_data(), readGS(), splot_etf(), stocks_hist(), trendsRelated(), writeGS()

Examples

Run this code
# NOT RUN {
# Multiple quotes at the same time
stocks_quote(c("VTI", "VOO", "TSLA"))
# }

Run the code above in your browser using DataLab