@GaryR01 @admin @admin123 @Moderator_1 @Moderator_2
Is this issue under consideration or we shift to we socket? It's been a week since all users are facing this issue.
Please confirm as code changes takes time.
@GaryR01 @admin @admin123 @Moderator_1 @Moderator_2
Is this issue under consideration or we shift to we socket? It's been a week since all users are facing this issue.
Please confirm as code changes takes time.
I am facing issue since last one week for getLtpData. As per API doc, rate limit is 10 per seconds. but, at present it come down to less than 4 per second. @admin @admin123 pls look into this issue.
@admin
@admin123
I'm losing money because of this issue. If it's taking time then do let me know. But, atleast revert.
NIFTY closing price is incorrect.
Reposne:
{'exchange': 'NSE', 'tradingsymbol': 'NIFTY', 'symboltoken': '26000', 'open': 0.0, 'high': 0.0, 'low': 0.0, 'close': 16483.85, 'ltp': 19646.05}
Closing values shows 16483.85. This is happening since one week.
@admin Please check.
@admin my account is blocked and as per recent forum discussion we need to connect with customer care to unblock.
I am trying to reach customer care but your offices are closed. Now I am feeling helpless. I have cancelled all my plans to work on this project today, and blocking user ID is really irritating.
Error Code:
{'status': False, 'message': 'User Is Blocked', 'errorcode': 'AB1007', 'data': None}
Probable solution: Please enable facility to unblock account with OTP verification. This will reduce system load and ease users as well.
Also, show countdown limit of attempts to users, so we can take proactive measure to avoid such issues.
Blocking ID without prior intimation is irritating. Please work on it.
Thanks.
Holding data is incorrect. I have sold NAUKRI stock still it's appearing in obj.holding() function.
Below is the screenshot of my portfolio:
Below is the output I am getting after calling obj.holding() function:
[{'tradingsymbol': 'NAUKRI-EQ', 'exchange': 'NSE', 'isin': 'INE663F01024', 't1quantity': 1, 'realisedquantity': 0, 'quantity': 1, 'authorisedquantity': 0, 'profitandloss': 0.0, 'product': 'DELIVERY', 'collateralquantity': None, 'collateraltype': None, 'haircut': 0.0, 'averageprice': 3936.9156, 'ltp': 3920.2, 'symboltoken': '13751', 'close': 3920.2}]
NAUKRI-EQ 13751 1 3920.2 3936.9156 <class 'float'>
NIFTY tokens is missing since Saturday. I thought it's temporary or under maintenance. But now it's confirmed. Pls solve this issue asap.
@Nitin-nagar This function is under maintenance since friday 3.40 pm.
Hi,
Can someone help me to get token of:
NIFTYPHARMA
NIFTYFINSRV
NIFTYAUTO
NIFTYMETAL
NIFTYENERGY
NIFTYFMCG
NIFTYMEDIA
NIFTYREALTY
NIFTYPSU
I could not find it in json file.
I think most of the users are facing this issue. @admin can you please help in this? Just share the token numbers, rest will manage from available json data.
Thanks a lot.
@admin Thank you. Issue resolved. Now all details are reflecting.
@admin
I have sold few stocks still they are visible in SMARTAPI holding data.
At the same time, I have brought stocks NAUKRI (Info Edge) and Intellect Design etc. are not reflecting in holding data.
In web view entire data is correct. Correction need to made in SMARTAPI.
Details along with SS:
below are positions
[{'symboltoken': '91415', 'symbolname': 'EXIDEIND', 'instrumenttype': 'OPTSTK', 'priceden': '1.00', 'pricenum': '1.00', 'genden': '1.00', 'gennum': '1.00', 'precision': '2', 'multiplier': '-1', 'boardlotsize': '1', 'exchange': 'NFO', 'producttype': 'CARRYFORWARD', 'tradingsymbol': 'EXIDEIND26MAY22160CE', 'symbolgroup': 'XX', 'strikeprice': '160.0', 'optiontype': 'CE', 'expirydate': '26MAY2022', 'lotsize': '3600', 'cfbuyqty': '3600', 'cfsellqty': '0', 'cfbuyamount': '22177.44', 'cfsellamount': '0.00', 'buyavgprice': '0.00', 'sellavgprice': '0.00', 'avgnetprice': '0.00', 'netvalue': '-22177.44', 'netqty': '3600', 'totalbuyvalue': '22177.44', 'totalsellvalue': '0.00', 'cfbuyavgprice': '6.16', 'cfsellavgprice': '0.00', 'totalbuyavgprice': '6.16', 'totalsellavgprice': '0.00', 'netprice': '6.16', 'buyqty': '0', 'sellqty': '0', 'buyamount': '0.00', 'sellamount': '0.00', 'pnl': '-18936.00', 'realised': '-0.00', 'unrealised': '-18936.00', 'ltp': '0.9', 'close': '1.1'}, {'symboltoken': '2181', 'symbolname': 'BOSCHLTD', 'instrumenttype': '', 'priceden': '1.00', 'pricenum': '1.00', 'genden': '1.00', 'gennum': '1.00', 'precision': '2', 'multiplier': '-1', 'boardlotsize': '1', 'exchange': 'NSE', 'producttype': 'DELIVERY', 'tradingsymbol': 'BOSCHLTD-EQ', 'symbolgroup': 'EQ', 'strikeprice': '-1', 'optiontype': '', 'expirydate': '', 'lotsize': '1', 'cfbuyqty': '0', 'cfsellqty': '0', 'cfbuyamount': '0.00', 'cfsellamount': '0.00', 'buyavgprice': '0.00', 'sellavgprice': '13609.80', 'avgnetprice': '13609.80', 'netvalue': '13609.80', 'netqty': '-1', 'totalbuyvalue': '0.00', 'totalsellvalue': '13609.80', 'cfbuyavgprice': '0.00', 'cfsellavgprice': '0.00', 'totalbuyavgprice': '0.00', 'totalsellavgprice': '13609.80', 'netprice': '13609.80', 'buyqty': '0', 'sellqty': '1', 'buyamount': '0.00', 'sellamount': '13609.80', 'pnl': '59.80', 'realised': '0.00', 'unrealised': '59.80', 'ltp': '13550.0', 'close': '13848.95'}, {'symboltoken': '71301', 'symbolname': 'AXISBANK', 'instrumenttype': 'OPTSTK', 'priceden': '1.00', 'pricenum': '1.00', 'genden': '1.00', 'gennum': '1.00', 'precision': '2', 'multiplier': '-1', 'boardlotsize': '1', 'exchange': 'NFO', 'producttype': 'CARRYFORWARD', 'tradingsymbol': 'AXISBANK26MAY22700CE', 'symbolgroup': 'XX', 'strikeprice': '700.0', 'optiontype': 'CE', 'expirydate': '26MAY2022', 'lotsize': '1200', 'cfbuyqty': '0', 'cfsellqty': '0', 'cfbuyamount': '0.00', 'cfsellamount': '0.00', 'buyavgprice': '6.30', 'sellavgprice': '0.00', 'avgnetprice': '6.30', 'netvalue': '-7560.00', 'netqty': '1200', 'totalbuyvalue': '7560.00', 'totalsellvalue': '0.00', 'cfbuyavgprice': '0.00', 'cfsellavgprice': '0.00', 'totalbuyavgprice': '6.30', 'totalsellavgprice': '0.00', 'netprice': '6.30', 'buyqty': '1200', 'sellqty': '0', 'buyamount': '7560.00', 'sellamount': '0.00', 'pnl': '720.00', 'realised': '-0.00', 'unrealised': '720.00', 'ltp': '6.9', 'close': '10.9'}]
below are holdings
[{'tradingsymbol': 'ACC-EQ', 'exchange': 'NSE', 'isin': 'INE012A01025', 't1quantity': 0, 'realisedquantity': 2, 'quantity': 2, 'authorisedquantity': 0, 'profitandloss': 0.0, 'product': 'DELIVERY', 'collateralquantity': None, 'collateraltype': None, 'haircut': 0.0, 'averageprice': 2063.1459, 'ltp': 2210.0, 'symboltoken': '22', 'close': 2245.45}, {'tradingsymbol': 'HINDPETRO-EQ', 'exchange': 'NSE', 'isin': 'INE094A01015', 't1quantity': 29, 'realisedquantity': 0, 'quantity': 29, 'authorisedquantity': 0, 'profitandloss': 0.0, 'product': 'DELIVERY', 'collateralquantity': None, 'collateraltype': None, 'haircut': 0.0, 'averageprice': 270.4575, 'ltp': 262.55, 'symboltoken': '1406', 'close': 268.7}, {'tradingsymbol': 'BOSCHLTD-EQ', 'exchange': 'NSE', 'isin': 'INE323A01026', 't1quantity': 0, 'realisedquantity': 1, 'quantity': 1, 'authorisedquantity': 0, 'profitandloss': 0.0, 'product': 'DELIVERY', 'collateralquantity': None, 'collateraltype': None, 'haircut': 0.0, 'averageprice': 14469.3525, 'ltp': 13525.55, 'symboltoken': '2181', 'close': 13848.949999999999}, {'tradingsymbol': 'GUJGASLTD-EQ', 'exchange': 'NSE', 'isin': 'INE844O01030', 't1quantity': 14, 'realisedquantity': 0, 'quantity': 14, 'authorisedquantity': 0, 'profitandloss': 0.0, 'product': 'DELIVERY', 'collateralquantity': None, 'collateraltype': None, 'haircut': 0.0, 'averageprice': 490.3575, 'ltp': 510.4, 'symboltoken': '10599', 'close': 515.9}]
Re: Error NoneType' object is not subscriptable
refreshToken = data['data']['refreshToken']
TypeError: 'NoneType' object is not subscriptable
@admin : facing this issue suddenly. I have also filled google form to migrate my account as per above thread. Pls do the needful urgently.
@GaryR01 1 pm is tentative timing, some days it's around 2/2.30. Some time works completely fine. But since last few days I am facing this issue.
Is anyone facing issue of delayed response under getltp function 1 pm onwards? I am facing it since last week. Response time slowed down after 1 pm.
@dakshesh said in Frequent Issues in SmartAPI - Python:
may be large request during this time by data warehouses
may be large request during this time by data warehouses??? That's why we are using API ryt, to process large data. Why it's slowed down after 1 pm? Since last week I am facing this issue. @admin please help
Hi Team,
I am facing several issues in SmartAPI:
Few tokens are not working. eg: CADILAHC-EQ, BURGERKING-EQ etc. same issue posted earlier - https://smartapi.angelbroking.com/topic/1491/token-no-not-available-for-below-stocks?_=1647165802681
Response time of getltp, orderbook, getbalance slowed down around 2 pm to 4 pm (Faced this issue 3-4 times in last week)
Need NIFTY, BANKNIFTY high/low data under getltp function
Please help.
Hi Team,
Token for BURGERKING-EQ was 1494 earlier, but now 1494 BURGERKING-EQ is not available in tokens. Pls help.