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")


nandp1/nser documentation built on Nov. 15, 2024, 4:04 a.m.