Not able to place order


  • I sent the following data to place order but got null in return :
    {"duration":"DAY","quantity":1,"variety":"NORMAL","price":75.1,"tradingsymbol":"BHEL-EQ","exchange":"NSE","transactiontype":"Buy","symboltoken":"438","ordertype":"LIMIT","producttype":"INTRADAY"}

    Please let me know the issue.


  • Hi @rishi ok noproblem let us know if you face any issue.


  • @admin I was able to fix the issue. There was some parameter mismatch on my side.

    Sorry for the trouble. 🙏

    Regards.


  • @rishi
    @admin I am not able to place order. Getting Response Code 400
    Response{protocol=http/1.1, code=400, message=, url=https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder}
    Tried with different values of params
    {"duration":"DAY","quantity":1,"variety":"NORMAL","squareoff":"0","stoploss":"0","price":70,"tradingsymbol":"BHEL-EQ","exchange":"NSE","transactiontype":"Buy","symboltoken":"438","ordertype":"LIMIT","producttype":"INTRADAY"}

    Please resolve and let me know soon.


  • @admin OK, let me get back to you on this.


  • This post is deleted!

  • Hi@rishi kindly refer below parameters
    req:
    {
    "variety": "NORMAL",
    "tradingsymbol": "SBIN-EQ",
    "symboltoken": "3045",
    "transactiontype": "BUY",
    "exchange": "NSE",
    "ordertype": "LIMIT",
    "producttype": "INTRADAY",
    "duration": "DAY",
    "price": "450",
    "squareoff": "0",
    "stoploss": "0",
    "quantity": "1"
    }
    response:
    {
    "status": true,
    "message": "SUCCESS",
    "errorcode": "",
    "data": {
    "script": "SBIN-EQ",
    "orderid": "210608000000972"
    }
    }