Fetch top gainers and losers for the last trading session.

nse_stock_top_gainers(clean_names = TRUE)

nse_stock_top_losers(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).

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.

Examples

# \donttest{ # top gainers nse_stock_top_gainers()
#> # A tibble: 10 x 12 #> symbol series last_corp_annou~ last_corp_annou~ open_price high_price #> <chr> <chr> <date> <chr> <dbl> <dbl> #> 1 TCS EQ 2019-10-17 Interim Dividen~ 2205 2240 #> 2 YESBA~ EQ 2019-06-03 Annual General ~ 46.2 47.2 #> 3 ULTRA~ EQ 2019-07-10 Annual General ~ 4225. 4310 #> 4 BHART~ EQ 2019-04-23 Rights 19:67 @ ~ 443. 449. #> 5 HCLTE~ EQ 2020-01-24 Interim Dividend 583 588. #> 6 DRRED~ EQ 2019-07-15 Annual General ~ 2875 2905 #> 7 TECHM EQ 2019-07-25 Annual General ~ 770. 785. #> 8 BAJAJ~ EQ 2019-07-11 Annual General ~ 3000 3069. #> 9 GRASIM EQ 2019-08-08 Annual General ~ 735. 750. #> 10 BAJFI~ EQ 2019-07-11 Annual General ~ 3950 4020 #> # ... with 6 more variables: low_price <dbl>, last_traded_price <dbl>, #> # prev_close_price <dbl>, percent_change <dbl>, traded_quantity <dbl>, #> # turnover_in_lakhs <dbl>
# retain original column names as returned by NSE nse_stock_top_gainers(clean_names = FALSE)
#> # A tibble: 10 x 12 #> symbol series lastCorpAnnounc~ lastCorpAnnounc~ openPrice highPrice lowPrice #> <chr> <chr> <date> <chr> <dbl> <dbl> <dbl> #> 1 TCS EQ 2019-10-17 Interim Dividen~ 2205 2240 2202. #> 2 YESBA~ EQ 2019-06-03 Annual General ~ 46.2 47.2 45.3 #> 3 ULTRA~ EQ 2019-07-10 Annual General ~ 4225. 4310 4184. #> 4 BHART~ EQ 2019-04-23 Rights 19:67 @ ~ 443. 449. 440. #> 5 HCLTE~ EQ 2020-01-24 Interim Dividend 583 588. 578 #> 6 DRRED~ EQ 2019-07-15 Annual General ~ 2875 2905 2866 #> 7 TECHM EQ 2019-07-25 Annual General ~ 770. 785. 770. #> 8 BAJAJ~ EQ 2019-07-11 Annual General ~ 3000 3069. 3000 #> 9 GRASIM EQ 2019-08-08 Annual General ~ 735. 750. 734. #> 10 BAJFI~ EQ 2019-07-11 Annual General ~ 3950 4020 3950 #> # ... with 5 more variables: ltp <dbl>, previousPrice <dbl>, netPrice <dbl>, #> # tradedQuantity <dbl>, turnoverInLakhs <dbl>
# top losers nse_stock_top_losers()
#> # A tibble: 10 x 12 #> symbol series last_corp_annou~ last_corp_annou~ open_price high_price #> <chr> <chr> <date> <chr> <dbl> <dbl> #> 1 EICHE~ EQ 2019-07-24 Annual General ~ 20700 20700 #> 2 JSWST~ EQ 2019-07-08 Annual General ~ 261. 264. #> 3 LT EQ 2019-07-24 Annual General ~ 1302 1309. #> 4 ZEEL EQ 2019-07-15 Annual General ~ 264 266. #> 5 BPCL EQ 2019-08-21 Dividend - Rs 8~ 450 458. #> 6 HINDA~ EQ 2019-08-14 Annual General ~ 206 208. #> 7 KOTAK~ EQ 2019-07-12 Annual General ~ 1655. 1661. #> 8 TATAS~ EQ 2019-07-04 Annual General ~ 472. 476. #> 9 TATAM~ EQ 2016-07-18 Dividend - Re 0~ 180. 184. #> 10 TITAN EQ 2019-07-29 Annual General ~ 1145 1156. #> # ... with 6 more variables: low_price <dbl>, last_traded_price <dbl>, #> # prev_close_price <dbl>, percent_change <dbl>, traded_quantity <dbl>, #> # turnover_in_lakhs <dbl>
# retain original column names as returned by NSE nse_stock_top_losers(clean_names = FALSE)
#> # A tibble: 10 x 12 #> symbol series lastCorpAnnounc~ lastCorpAnnounc~ openPrice highPrice lowPrice #> <chr> <chr> <date> <chr> <dbl> <dbl> <dbl> #> 1 EICHE~ EQ 2019-07-24 Annual General ~ 20700 20700 20094. #> 2 JSWST~ EQ 2019-07-08 Annual General ~ 261. 264. 257 #> 3 LT EQ 2019-07-24 Annual General ~ 1302 1309. 1283. #> 4 ZEEL EQ 2019-07-15 Annual General ~ 264 266. 261. #> 5 BPCL EQ 2019-08-21 Dividend - Rs 8~ 450 458. 449. #> 6 HINDA~ EQ 2019-08-14 Annual General ~ 206 208. 204. #> 7 KOTAK~ EQ 2019-07-12 Annual General ~ 1655. 1661. 1638 #> 8 TATAS~ EQ 2019-07-04 Annual General ~ 472. 476. 467 #> 9 TATAM~ EQ 2016-07-18 Dividend - Re 0~ 180. 184. 180. #> 10 TITAN EQ 2019-07-29 Annual General ~ 1145 1156. 1138 #> # ... with 5 more variables: ltp <dbl>, previousPrice <dbl>, netPrice <dbl>, #> # tradedQuantity <dbl>, turnoverInLakhs <dbl>
# }