To receive the real time data you need to send request using the correct symbol name to the websocket server. The symbol name curated with exchange, segment & other info can be downloaded anytime as per your need by calling
Tickers are the symbols that is used by our server for identifying the instrument. The gettickers api will deliver the file containing all the valid tickers.
You can also use send request to the server by generating the ticker from you end using the below format
[EXCHANGE][INSTTYPE][SYMBOL][EXPIRY][STRIKE+OPTIONTYPE].[datatype].[dataformat]
EXCHANGE* : NSE/BSE/MCX
INSTTYPE* : FUTIDX, OPTIDX, FUTSTK, OPTSTK, FUTCOM, OPTCOM, FUTCUR, OPTCUR, INDICES, STOCK
SYMBOL* : ANY SYMBOL AS TRADED IN THE NSE CASH SEGMENT
EXPIRY : ANY VALID EXPIRY DATE IN THE FORMAT DDMMMYYYY E.G., 12DEC2024. NOT REQUIRED FOR EQUITY SEGMENT.
STRIKE + OPTIONTYPE : STRIKE PRICE CONCATENATED WITH OPTION TYPE. E.G., 25000CE. NOT REQUIRED FOR FUTURES & EQUITY TICKERS.
DATA TYPE : NOT REQUIRED FOR LIVE RT DATA.
DATA FORMAT* :
https://qbase1.vbiz.in/directrt/gettickers/
the call would return list of tickers that can be subscribed for real time data.
required parameters
loginid : A valid login ID with active subscription.
product : product name which you have subscribed for.
accesstoken : received upon successful authentication.
Sample response:
NSE_INDICES_NIFTY,
NSE_INDICES_BANKNIFTY,
NSE_STOCK_BALRAMCHIN,
NSE_FUTIDX_NIFTY_31MAR2022,
NSE_OPTIDX_NIFTY_31MAR2022_21000_CE,
NSE_OPTIDX_NIFTY_31MAR2022_21000_PE,
MCX_FUTCOM_ALUMINIUM_29APR2022,
NSE_FUTCUR_USDINR_11MAR2022,…..
NOTE: The symbol names mentioned above are only for indicative purpose. Please use the symbol names that are download from gettickers call.
You can then subscribe to any tickers from the list downloaded.
Powered by BetterDocs
Response from the API of get tickers is exactly in what format? Is it CSV or JSON or Plaintext?
Hi Anuj, The response for gettickers is just a plain text file. The list will contain all the symbols that are traded on the respective exchanges. In fact this is not at all required. You can request a symbol using the pattern explained in the documentation.
You must be logged in to post a comment.