nse_index_quote: Index quote

Description Usage Arguments Value Examples

View source: R/nse-index.R

Description

Fetch the quote for a given index.

Usage

1
nse_index_quote(clean_names = TRUE)

Arguments

clean_names

Logical; if TRUE, makes the column names descriptive and uses snake_case.

Value

A tibble with the following columns:

index_name

Name of the NSE indices.

last_traded_price

Last traded price.

change

Change in price.

percent_change

Percentage change in price.

Examples

1
2
3
4
nse_index_quote()

# retain original column names as returned by NSE
nse_index_quote(clean_names = FALSE)

nse2r documentation built on May 20, 2021, 5:08 p.m.