preopen_nifty: Pre Open market data

preopen_niftyR Documentation

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)

Arguments

clean_names

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

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.

Examples

## Not run: 
# 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)

## End(Not run)


nse2r documentation built on Nov. 1, 2022, 5:05 p.m.