@admin , I TRY WITH BFO BUT SAME PROBLEM FOUND NOT WORKED , SAME CODE WORKING IN NIFTY PROPERLY , PLEASE GIVE ME SOLUTION , TNX
gauravbhimani
@gauravbhimani
Best posts made by gauravbhimani
Latest posts made by gauravbhimani
-
RE: sensex option symbol not working
-
RE: sensex option symbol not working
@admin , i have same problem like this-
D:\copy trading\nifty\sENSEX>python 123.py
✅ Downloaded and saved instrument data to OpenAPIScripMaster.json
ℹ️ Loading data from local file...
✅ Loaded 2910 SENSEX options instruments
[I 250218 13:58:48 smartConnect:124] in pool
✅ Login Successful!
📅 Nearest expiry date: 18FEB25
Fetching LTP for SENSEX26DEC77000PE (Token: 1114271)
[E 250218 13:58:49 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getLtpData. Error: Failed to get symbol details. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getLtpData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'e0:73:e7:11:02:27', 'Accept': 'application/json', 'X-PrivateKey': '4aSo0b8N', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NFO', 'tradingsymbol': 'SENSEX26DEC77000PE', 'symboltoken': '1114271'}, Response: {'message': 'Failed to get symbol details', 'errorcode': 'AB1018', 'status': False, 'data': None}
❌ Error fetching LTP for SENSEX26DEC77000PE (Token: 1114271): argument of type 'NoneType' is not iterable
Retrying to fetch LTP for SENSEX26DEC77000PE (Token: 1114271)... Attempt 1/3
Fetching LTP for SENSEX26DEC77000PE (Token: 1114271) -
api problem smartConnect:246
i try to run python in starting code was working good but after some time found problem like this.
[E 250218 11:01:58 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'e0:73:e7:11:02:27', 'Accept': 'application/json', 'X-PrivateKey': '4aSo0b8N', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NFO', 'symboltoken': '63492', 'interval': 'ONE_MINUTE', 'fromdate': '2025-02-17 11:01', 'todate': '2025-02-18 11:01'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}