Estimate Charges API Error
-
Re: Estimate charges api error
Is the estimate charges API available for NFO? It gives internal server error for a request with params related NIFTY FUTURES. However, it works fine for NSE stocks.
-
@notsoloud NFO_FUT also works fine. just go through documentation properly. it is there.
-
Hi @Moderator_1 !
Please find the request_data I am passing to smartApi.estimateCharges(){'orders': [{'product_type': 'INTRADAY', 'transaction_type': 'BUY', 'quantity': '25', 'price': '24000', 'exchange': 'NFO', 'symbol_name': 'NIFTY29AUG24FUT', 'token': '35415'}, {'product_type': 'INTRADAY', 'transaction_type': 'SELL', 'quantity': '25', 'price': '24500', 'exchange': 'NFO', 'symbol_name': 'NIFTY29AUG24FUT', 'token': '35415'}]}
The error I received:
Response: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}
-
@notsoloud It is available for NFO. Please pass the correct exchange, symbol_name and token and it will give you the details.
Thank you.
Regards
SmartAPI Team -