download_stock: download_stock

View source: R/fct_download_stock.R

download_stockR Documentation

download_stock

Description

Download price data of a stock

Usage

download_stock(symbol, source, period = 500)

Arguments

symbol

stock symbol such as "AAPL"

source

where is the data from, "yahoo" for Yahoo Finance or "tws" for for Interactive Brokers TWS. Need a account and data subscription for TWS.

period

number of days to look back

Value

data frame


GL-Li/twstrade documentation built on April 2, 2022, 11:56 p.m.