nse_stock_high_low: 52 week high & low

Description Usage Arguments Value Examples

Description

Fetch stocks that have touched their 52 week high and low.

Usage

1
2
3
nse_stock_year_high(clean_names = TRUE)

nse_stock_year_low(clean_names = TRUE)

Arguments

clean_names

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

Value

A tibble with the following column names:

symbol

NSE ticker.

symbol_desc

Name of the firm.

date

Previous high date.

new_high

New 52 week high price.

new_low

New 52 week low price.

year

Year.

last_traded_price

Last traded price.

prev_high

Previous high price.

prev_low

Previous low price.

prev_close

Previous close price.

change

Change in price.

percent_change

Percentage change in price.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 52 week high
nse_stock_year_high()

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

# 52 week low
nse_stock_year_low()

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

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