Learn R Programming

nse2r (version 0.1.6)

nse_fo: Top F&O gainers and losers

Description

Top futures and options gainers and losers for the last trading session.

Usage

nse_fo_top_gainers(clean_names = TRUE)

nse_fo_top_losers(clean_names = TRUE)

Value

A tibble with the following columns:

symbol

NSE ticker.

series

Equity (EQ).

last_corp_announcement_date

Last corporate announcement date.

last_corp_announcement

Last corporate announcement.

open_price

Open price.

high_price

High price.

low_price

Low price.

last_traded_price

Last traded price.

prev_close_price

Previous close price.

percent_change

Percentage change in price.

traded_quantity

Total traded quantity.

turnover

Turnover in lakhs.

Arguments

clean_names

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

Examples

Run this code
if (FALSE) {
# top gainers
nse_fo_top_gainers()

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

# top losers
nse_fo_top_losers()

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

Run the code above in your browser using DataLab