nselive: Get live market data for NIFTY 50 and F&O securities"

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Introduction

Gets NSE live market data of nifty 50 and F&O stocks. The regular trading session starts from 09.15 hrs to 15.30 hrs (IST). Function returns dataframe of live market data along with a message of number of advances, declines and time.

# Live Nifty 50 data
library(nser)
nselive()

# Live F&O data 
library(nser)
nselive("fo")


Try the nser package in your browser

Any scripts or data that you put into this service are public.

nser documentation built on Sept. 19, 2023, 5:06 p.m.