ERROR CODE:'AB1004' STATUS:'FALSE' DATA:'NONE' NOT ABLE TO GET THE BANKNIFTY DATA
-
Error fetching OHLC data: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
-
Hello @neelamrastapur
You can get the ltp from the getLtp API then accordimgly you can search the same in scrip master.
Regards,
SmartAPI Team -
@Moderator_3 said in ERROR CODE:'AB1004' STATUS:'FALSE' DATA:'NONE' NOT ABLE TO GET THE BANKNIFTY DATA:
99926009
Sir, How to get the strike price of banknifty Index based on the ltp, and select the nearest weekly expiry date, and then what all parameters need to be considered in order to place the option trade.
Please help me to get the resource.
Thank you
-
Hello @neelamrastapur
The token of banknifty is "symboltoken":"99926009".please use the token then try to call the https://smartapi.angelbroking.com/docs/Historical
APIRegards,
SmartAPI Team -
How to get the historical data for the banknifty index?
How can i get the ltp of banknifty index and get the option strike price of ITM and place the order for it?While i'm trying for it, getting the above error. please help me to resolve this.
Thank you
-
Hello @neelamrastapur
Can you please share here the request body and header as well so that we can have a look into itRegards,
SmartAPI Team