Getting error in Margin Calculator. Help me resolve the issue
-
[{'exchange': 'NFO', 'qty': 50, 'price': 0, 'productType': 'INTRADAY', 'token': '41670', 'tradeType': 'BUY'}]}, Response: {'message': 'Null or Empty Margin Data', 'errorcode': 'AB4022', 'status': False, 'data': None}
Getting this above error when i try to use the margin calculator API . What could be the reason?
-
Hello @cudasan
Seems like the request body is incorrect
Can you please cross check and update the request body with below link
https://smartapi.angelbroking.com/docs/MarginCalculatorRegards,
SmartAPI Team