Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Order Rejection API Response

    General Discussion
    4
    7
    79
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      J300558 last edited by

      Hi,
      I am using following API to place an order:

      https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder

      There is no response. When I am going to place directly from the panel https://trade.angelbroking.com/; it rejects the order and saying:

      Rejection Reason
      Your order has been rejected due to Insufficient Funds.

      What will be the response of API in case of order rejection?

      S A 2 Replies Last reply Reply Quote 0
      • S
        Surya 1 @J300558 last edited by

        @sachinsrm

        yes. there is no documentation for possible responses. I face the same issue and getting through one by one by experience ( simulating the order ). I hope they provide a table of possible responses for each field.

        1 Reply Last reply Reply Quote 0
        • A
          admin @J300558 last edited by

          @sachinsrm said in Order Rejection API Response:

          What will be the response of API in case of order rejection?

          You'll get the same response as visible on trade.angelbroking.com

          J 1 Reply Last reply Reply Quote 0
          • J
            J300558 @admin last edited by

            @admin
            Hi,
            Not getting the same response as in trading panel.
            Trading Panel shows Order : Rejected but API response returns Success message.

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @J300558 last edited by

              Hi @sachinsrm , after placing an order you have to fetch order book by calling getOrderBook API for order status

              R 1 Reply Last reply Reply Quote 0
              • R
                ronak @admin last edited by

                @admin Even in the order book, Get trade book API only returns the succesful orders ad not the one rejected. How to get rejected or orders places with LIMIT which might not be fully executed so far ??

                A 1 Reply Last reply Reply Quote 0
                • A
                  admin @ronak last edited by

                  HI @ronak Post your client id here.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post