index historical api
-
please make index historical api available, currently we are unable to fetch historical data for nifty and banknifty. if this can be made available it will benefit a lot.
-
@premesh-patel Index Historical Data Works for me
Ref : https://smartapi.angelbroking.com/docs/Historical
use Body as follows:- for Nifty
{
"exchange":"NFO",
"symboltoken":"NIFTY",
"interval":"ONE_HOUR",
"fromdate":"2023-01-01 09:00",
"todate":"2023-03-31 15:31"
}- for BANKNIFTY
{
"exchange":"NFO",
"symboltoken":"BANKNIFTY",
"interval":"ONE_HOUR",
"fromdate":"2023-01-01 09:00",
"todate":"2023-03-31 15:31"
}
-
Index Historical Data Works for me
Ref : https://smartapi.angelbroking.com/docs/Historical
use Body as follows:- for Nifty
{
"exchange":"NFO",
"symboltoken":"NIFTY",
"interval":"ONE_HOUR",
"fromdate":"2023-01-01 09:00",
"todate":"2023-03-31 15:31"
}- for BANKNIFTY
{
"exchange":"NFO",
"symboltoken":"BANKNIFTY",
"interval":"ONE_HOUR",
"fromdate":"2023-01-01 09:00",
"todate":"2023-03-31 15:31"
}
-
Hi @ananya said in index historical api:
@admin Currently historical data for index is not available .. How resampling will solve this problem ?
For live index data you can get it through web socket by passing task as ""sfi". -
HI @ananya you need index historical data or live data.?
-
@admin Currently historical data for index is not available .. How resampling will solve this problem ?
-
HI @premesh-patel you need to implement resmaple logic to implement this.
-
@admin also if you can add Weekly time frame for historical api
-
HI @premesh-patel We have noted your suggestion.