I am not able to place nifty fut order through dhan API , keeps on getting below error {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Missing required fields, bad values for parameters etc.’}, ‘data’: {‘errorType’: ‘Input_Exception’, ‘errorCode’: ‘DH-905’, ‘errorMessage’: ‘Missing required fields, bad values for parameters etc.’}}
I am not trying AMO order.
Below is the payload :
{‘afterMarketOrder’: False, ‘boProfitValue’: None, ‘boStopLossValue’: None, ‘dhanClientId’: ‘1100260006’, ‘disclosedQuantity’: 0, ‘exchangeSegment’: ‘NSE_FNO’, ‘orderType’: ‘LIMIT’, ‘price’: 23400.0, ‘productType’: ‘MARGIN’, ‘quantity’: 1, ‘securityId’: ‘54446’, ‘transactionType’: ‘SELL’, ‘validity’: ‘DAY’}
Please let me now if I miss anything.