I am trying to place a super order from API for testing. it is always gives errors as below, does any one have correct example for a working super order placement. tried with different exchange type , product type, order type and never been successful.
error is : 400 Bad Request .
{
“errorType”: “Input_Exception”,
“errorCode”: “DH-905”,
“errorMessage”: “Missing required fields, bad values for parameters etc.”
}
{
“dhanClientId”: “10006xxxxx”,
“correlationId”: “123678abcd”,
“transactionType”: “BUY”,
“exchangeSegment”: “NSE_EQ”,
“productType”: “CNC”,
“orderType”: “MARKET”,
“securityId”: “2885”,
“quantity”: 1,
“price”: 0,
“targetPrice”: 1578,
“stopLossPrice”: 1558,
“trailingJump”: 1
}