You can download historical 1 minute intraday data from using http api
URL : https://qbase1.vbiz.in/directrt/gethistorical
Required Parameters :
loginid : the login id of the currently authenticated user.
product : the product (or package) name that is used for authentication.
Possible values
accesstoken : access token received during the latest successful authentication.
inst : Instrument type of the symbol. FUTIDX, FUTSTK, OPTIDX, OPTSTK, STOCK, INDICES, FUTCOM, FUTCUR are the supported instrument types.
tradedate : pass the trade date ddMMMyyyy format for which intraday data is required.
Note: Historical data for multiple days can be requested. See enddate in the optional parameters
symbol : pass the symbol name for which backfill is required. Only one symbol can be processed.
Optional Parameters :
expiry : pass the expiry date in ddMMMyyyy format.
strike : pass the strike price of the option symbol.
optiontype : pass the type of the option symbol.
NEW : enddate : pass the end date in ddMMMyyyy format. The API will return historical data for the period between tradedate and enddate.
Sample Request :
This will get the data for NIFTY Future contract traded on 10th JAN 2024 having expiry 25th JAN 2024.
https://qbase1.vbiz.in/directrt/gethistorical?loginid=your_login_id_here&product=DIRECTRTLITE&accesstoken=your_access_token_here&inst=FUTIDX&tradedate=10JAN2024&expiry=25JAN2024&symbol=NIFTY&Exch=NSE
This will get the data from 1st JAN 2024 till 25th JAN 2024 for NIFTY Future contract having expiry 25th JAN 2024.
https://qbase1.vbiz.in/directrt/gethistorical?loginid=your_login_id_here&product=DIRECTRTLITE&accesstoken=your_access_token_here&inst=FUTIDX&tradedate=01JAN2024&enddate=25JAN2024&symbol=NIFTY&Exch=NSE
This will get the data for NIFTY CALL Option contract with strike 21800 traded on 04th JAN 2024 having expiry 25th JAN 2024.
https://qbase1.vbiz.in/directrt/gethistorical?loginid=your_login_id_here&product=DIRECTRTLITE&accesstoken=your_access_token_here&inst=OPTIDX&tradedate=04JAN2024&expiry=25JAN2024&symbol=NIFTY&strike=21600&optiontype=CE&Exch=NSE
Powered by BetterDocs
You must be logged in to post a comment.