Learn R Programming

nse2r (version 0.1.6)

preopen_nifty: Pre Open market data

Description

Fetch data of pre open session of Nifty & Nifty Bank.

Usage

nse_preopen_nifty(clean_names = TRUE)

nse_preopen_nifty_bank(clean_names = TRUE)

Value

A tibble with the following columns:

symbol

NSE ticker.

series

Equity (EQ)

corp_action_date

Corporate action date.

corp_action

Corporate Action

price

Price

change

Change in price

percent_change

Percentage change in price.

prev_close

Previous close.

quantity

Quantity

value

Value (in lakhs),

mkt_cap

Free float market capitalization (in crores).

year_high

Normal market 52 week high.

year_low

Normal market 52 week low.

Arguments

clean_names

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

Examples

Run this code
if (FALSE) {
# nifty
nse_preopen_nifty()

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

# nifty bank
nse_preopen_nifty_bank()

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

Run the code above in your browser using DataLab