One efficient way to obtain RT data is through Application Programming Interfaces (APIs), and utilizing HTTP protocols for communication. DIRECTRT allowing you to fetch real-time data seamlessly.
URL: https://qbase1.vbiz.in/directrt/getdata?
Login_ID : Valid Login ID
Product : DIRECTRTLITE, DIRECTRTPLUS, DIRECTRTPRO, DIRECTRTPRIME .
Accesstoken : Use the access token obtained after the last successful authentication.
Tickerslist : To get data, just send the right symbol name to the parameters. the symbol name, along with exchange and segment information, Expiry, whenever you want by making a call.
You can get data in either “.JSON”, “.CSV”, or both formats simultaneously.
To get JSON data or CSV data, Just add “.JSON” “.CSV” to the end of the ticker.
Example:
NSE_FUTIDX_NIFTY_25JAN2024.JSON
NSE_FUTIDX_NIFTY_25JAN2024.CSV
NSE_OPTIDX_NIFTY_25JAN2024_21500_CE.JSON
NSE_OPTIDX_NIFTY_25JAN2024_21700_PE.CSV
https://qbase1.vbiz.in/directrt/getdata?loginid=your_Login_ID&product=PRODUCT&accesstoken=your_accesstoken_here&
tickerlist=NSE_FUTIDX_NIFTY_25JAN2024.CSV,NSE_FUTIDX_NIFTY_25JAN2024.JSON
JSON sample response:
{"UniqueName":"NSE_FUTIDX_NIFTY_29FEB2024", "Symbol":"NIFTY", "Ticker":"NIFTY-I", "Contract":"I", "Exchange":"NSE", "InstrumentType":"FUTIDX", "ExchInstName":null, "ExpiryString":"29FEB2024", "StrikePriceString":"0", "StrikePrice":0.0, "OptionType":"XX", "LastTradedTime":"2024-01-29T10:44:29", "LTD":20240129, "LTT":104429, "BBP":21740.65, "BBQ":50, "BSP":21742.45, "BSQ":50, "LTP":21740.65, "Open":21744.5, "High":21745.3, "Low":21740.0, "Vol":9350, "PrevVol":184170 "DayOpen":21591.0, "DayHighest":21760.0, "DayLowest":21575.0, "PrevClose":21488.55, "TTQ":3661100, "OI":12830300, "PrevOI":611070000, "ATP":21688.92, "TTV":79220510880.0,"IV":0}
CSV sample response:
NIFTYI,NSE_FUTIDX_NIFTY_29FEB2024,NIFTY,29FEB2024,0,XX,20240129,104429,21744.5,21745.3,21740,21740.65,9350,184170,12830300,611070000,3661100,79220510880,21591,21760,21575,50,21740.65,50,21742.45,21488.55,
Responses: Invalid session. Relogin to continue.
Description: If the Login ID and product name are incorrect or if the subscription has expired, an error will be displayed.
Solution: Check whether the Login ID and Product Name are correct or Expired and check whether the product is subscribed or not.
Responses: Invalid source of request. Access allowed only from the validated machine.
Description: If the same access token is used across multiple PCs, it will result in an error.
Note: The access token is valid only for the PC that obtains it.
Solution: Obtain a new access token, and the access token will be valid only for the individual who acquires it.
Powered by BetterDocs
You must be logged in to post a comment.