Learn R Programming

m4fe (version 0.1)

currentStocks: Current Stock Info (Yahoo Finance API)

Description

Parses the Yahoo Finance API to retrieve current stock information

Usage

currentStocks(stockIndex = "GOOGL")

Arguments

stockIndex
The name of the stock index to retrieve information for (default GOOGL)

Details

Uses R's read.csv method and generates a data table containing stock information such as Bid-Ask, EPS.

Examples

Run this code
currentStocks()

Run the code above in your browser using DataLab