intraday 30 min data for nifty
-
hi,
Please let me know how I can fetch 30 min intraday data for nifty for 1 day, i.e. same trading day. Is it available? If not, does websockets provide ohlc data or just ltp data for index? -
Hi @fcoder to get the ltp use below req:
obj.ltpData("NSE", "BANKNIFTY", "26009")
replace banknifty token with niftyTo get the ohlc use websocket convert tick data to minute data and resample it to 15/30 min according to your requirement.
-
HI @fcoder Did you tried web socket to get the index data...?
-
@admin so are you saying there is no way to get 15/30 min ohlc data for index? If there is a way please provide details.
-
@fcoder so are you saying there is no way to get 15/30 min ohlc data for index? IF there is a way please provide details. Please update.
-
@admin so are you saying there is no way to get 15/30 min ohlc data for index?
-
HI @fcoder You are using historical data API to get the data currently we support NSE equity to get the historical data.
-
@fcoder ![alt text]( image url)
-
@admin . Here is code where I am getting null response for data element.![alt text]( image url)
Please help, why data is null for token=26000. Function name: GetCandleDataRequest.
-
HI @fcoder You can use ltp api or websocket to get the 30 min data.