Global

Members

TURNOVER_HEADERS

Constant CSV Header Row to parse response values
Source:

Methods

getAllStocksCSV() → {Array}

Return a json Array of all Equities listed on NSE
Source:
Returns:
Type
Array

getCandleStickData(symbol, time, isIndex) → {*}

Get CandleStick Data
Parameters:
Name Type Description
symbol = stock symbol
time = [1, 5, 15, 30, 60, 'week', 'month', 'year'] minutes
isIndex boolean to fetch candleStick data of index
Source:
Returns:
Type
*

getChartDataNew(symbol, time) → {*}

Chart Data for Stocks and indexs
Parameters:
Name Type Description
symbol = stock symbol
time [1, 5, 15, 30, 60, 'week', 'month', 'year'] minutes
Source:
Returns:
Type
*

getCompanyInfo(securityCode) → {Promise}

API returning Company Info
Parameters:
Name Type Description
securityCode number BSE, company securityCode value
Source:
Returns:
Type
Promise

getFuturesData(symbol) → {*}

A Wrapper method to fetch all the data for expiries date together
Parameters:
Name Type Description
symbol
Source:
Returns:
an object with expiry date as key and future data as value
Type
*

getGainers() → {*}

Get List of Gainers
Source:
Returns:
Type
*

getGainers() → {*}

API returning top Gainers of day
Source:
Returns:
Type
*

getGainers() → {*}

Get List of Gainers
Source:
Returns:
Type
*

getInclineDecline() → {*}

Get Incline and Decline values
Source:
Returns:
Type
*

getInclineDecline() → {*}

Get Incline and Decline values
Source:
Returns:
Type
*

getIndexChartData(symbol, time) → {*}

Intra-day Index chart data
Parameters:
Name Type Description
symbol = index symbol
time [1, 5, 15, 30, 60, 'week', 'month', 'year'] minutes
Source:
Returns:
Type
*

getIndexChartData(key, time) → {*}

Get Full Day Chart data for a index
Parameters:
Name Type Description
key number = use the index 'key' value (check getIndices method, every index has a key value)
time 1 | 1M | 3M | 6M | 12M =
Source:
Returns:
Type
*

getIndexInfo(symbolKey) → {*}

Fetch Index info, eg., high, low, open etc…
Parameters:
Name Type Description
symbolKey number Index 'key' value
Source:
Returns:
Type
*

getIndexStocks(symbolKey) → {*}

Get HeatMap data for index (stock list for a index)
Parameters:
Name Type Description
symbolKey number pass in the 'key' value for index (check getIndices method)
Source:
Returns:
Type
*

getIndexStocks(slug) → {*}

Return stocks list for specified index slug
Parameters:
Name Type Description
slug
Source:
Returns:
Type
*

getIndices() → {*}

API returning top indices
Source:
Returns:
Type
*

getIndices() → {*}

API returning indices list
Source:
Returns:
Type
*

getIndices() → {*}

API returning top indices
Source:
Returns:
Type
*

getIndices2() → {*}

API returning indices list v2
Source:
Returns:
Type
*

getIntraDayDataXML(symbol, time) → {*}

Intra-day Stocks data
Parameters:
Name Type Description
symbol = stock symbol
time [1, 5, 15, 30, 60, 'week', 'month', 'year'] minutes
Source:
Returns:
Type
*

getLosers() → {*}

Get List of Losers
Source:
Returns:
Type
*

getLosers() → {*}

API returning top Losers of day
Source:
Returns:
Type
*

getLosers() → {*}

Get List of Losers
Source:
Returns:
Type
*

getMarketStatus() → {boolean}

Returns market status true => market Close false => market Open
Source:
Returns:
Type
boolean

getMarketStatus() → {boolean}

Returns market status true => market Close false => market Open
Source:
Returns:
Type
boolean

getQuoteInfo(symbol) → {object}

Get info about a stock
Parameters:
Name Type Description
symbol string symbol of company
Source:
Returns:
Type
object

getQuoteInfo(symbol) → {object}

Get info about a stock
Parameters:
Name Type Description
symbol string symbol of company
Source:
Returns:
Type
object

getSectorsList() → {array}

Return list of companies with their sector name [{ sector: "NIFTY IT ", //Sector name symbol: "TRIGYN", //company symbol PE: "0", // Symbol P/E value date: "08-Jun-2018 06:45:10", // last date sectorPE: "19.53" // Sectoral Index P/E value }],
Source:
Returns:
Type
array

getSectorsList() → {array}

Return list of companies with their sector name [{ sector: "NIFTY IT ", //Sector name symbol: "TRIGYN", //company symbol PE: "0", // Symbol P/E value date: "08-Jun-2018 06:45:10", // last date sectorPE: "19.53" // Sectoral Index P/E value }],
Source:
Returns:
Type
array

getStockCandleStickData(securityCode, time) → {*}

Parameters:
Name Type Description
securityCode
time string allowed values (1D|1Y)
Source:
Returns:
Type
*

getStockFutureOptionsExpiryDates(symbol, isFutures, isIndex) → {*}

Get Stock options and futures expiry dates
Parameters:
Name Type Description
symbol
isFutures true=> return expiry date of futures else options
isIndex
Source:
Returns:
Type
*

getStockFuturesData(symbol, expiryDate, isIndex) → {*}

Get Stock Futures Data
Parameters:
Name Type Description
symbol
expiryDate
isIndex boolean
Source:
Returns:
Type
*

getStockInfoAndDayChartData(securityCode) → {*}

API returning Daily Stocks data of company
Parameters:
Name Type Description
securityCode number BSE, company securityCode value
Source:
Returns:
Type
*

getStockMarketDepth(securityCode) → {*}

Returns stock buy and sell quantity
Parameters:
Name Type Description
securityCode
Source:
Returns:
Type
*

getStockOptionsData(symbol, expiryDate, isCall, strikePrice, isIndex) → {*}

Get Stock Options Data
Parameters:
Name Type Description
symbol
expiryDate
isCall
strikePrice
isIndex
Source:
Returns:
Type
*

getStockOptionsPrices(symbol, expiryDate, isCall, isIndex) → {*}

Get Call/Put Stock Options Prices Data
Parameters:
Name Type Description
symbol
expiryDate use one of values returned by getStockFutureOptionsExpiryDates method only
isCall true=> call strike prices values else 'Put'
isIndex
Source:
Returns:
Type
*

getStocksChartData(securityCode, flag) → {*}

API returning Company Info
Parameters:
Name Type Description
securityCode number BSE, company securityCode value
flag string , oneOf [1D,5D,1M,3M,6M,12M]
Source:
Returns:
Type
*

getTopTurnOvers() → {*}

API returning top turnovers of day
Source:
Returns:
Type
*

searchEquityDerivatives(symbol)

Search Equity Derivatives
Parameters:
Name Type Description
symbol string min 3 chars
Source:
Returns:
{[{name, symbol]}

searchStocks(symbol)

Search NSE Stocks by symbol or name
Parameters:
Name Type Description
symbol string min 3 chars
Source:
Returns:
{[{name, symbol]}