Navigation

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

    Getting error on Place Order

    General Discussion
    0
    15
    99
    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.
    • P
      PareshBhatiya @StocksDeveloper last edited by

      @StocksDeveloper It was working fine yesterday

      S 1 Reply Last reply Reply Quote 0
      • A
        anil_patel last edited by

        @admin @administrators facing the same issue. even Ordertag is also missing from Orderbook.

        1 Reply Last reply Reply Quote 0
        • S
          StocksDeveloper @PareshBhatiya last edited by

          @PareshBhatiya Yes, I know.

          1 Reply Last reply Reply Quote 0
          • P
            PareshBhatiya last edited by

            everyday getting some issues
            API is not stable

            A C 2 Replies Last reply Reply Quote 0
            • A
              admin @PareshBhatiya last edited by

              Hi @PareshBhatiya @StocksDeveloper @anil_patel There was an intermittent technical issue and has been resolved now.

              1 Reply Last reply Reply Quote 0
              • A
                A458898 last edited by

                @admin Hello team,
                Getting this error
                Since morning there has been an error from angel API
                Order Obj - {
                "variety": "NORMAL",
                "tradingsymbol": '38057',
                "symboltoken": 'NIFTY03NOV2218150CE',
                "transactiontype": "SELL",
                "exchange": 'NFO',
                "ordertype": "MARKET",
                "producttype": "INTRADAY",
                "duration": "DAY",
                "price": 0,
                "squareoff": "0",
                "stoploss": "0",
                "quantity":50
                }

                {
                message: 'Failed to get symbol details',
                errorcode: 'AB1018',
                status: false,
                data: null
                }

                1 Reply Last reply Reply Quote 0
                • C
                  Chandra shekhar last edited by

                  Buy order not working properly. its generate error like that

                  Order Error : AB1010
                  Order Message: Invalid Session or Session is Expired Please Re-login
                  Order Status : False

                  please solve it

                  1 Reply Last reply Reply Quote 0
                  • C
                    Chandra shekhar last edited by

                    Buy order not working properly. its generate error like that
                    Order Error : AB1010
                    Order Message: Invalid Session or Session is Expired Please Re-login
                    Order Status : False

                    buy signal generated in C#.Net

                    please solve it

                    C T 2 Replies Last reply Reply Quote 0
                    • C
                      Chandra shekhar @Chandra shekhar last edited by

                      @Chandra-shekhar Client code C201820

                      1 Reply Last reply Reply Quote 0
                      • C
                        Chandra shekhar @PareshBhatiya last edited by

                        @PareshBhatiya said in Getting error on Place Order:

                        everyday getting some issues
                        API is not stable

                        you are right

                        1 Reply Last reply Reply Quote 0
                        • T
                          T167171 @Chandra shekhar last edited by

                          @Chandra-shekhar
                          Facing same issues

                          code:

                          order_params = {
                              "variety": "NORMAL",
                              "tradingsymbol": "HAVELLS-EQ",
                              "symboltoken": "9819",
                              "transactiontype": "BUY",
                              "exchange": "NSE",
                              "ordertype": "MARKET",
                              "producttype": "INTRADAY",
                              "duration": "DAY",
                              "quantity": 1
                          }
                          obj.placeOrder(orderparams=order_params)
                          

                          o/p:

                          TypeError                                 Traceback (most recent call last)
                          Cell In [9], line 12
                                1 order_params = {
                                2     "variety": "NORMAL",
                                3     "tradingsymbol": "HAVELLS-EQ",
                             (...)
                               10     "quantity": 1
                               11 }
                          ---> 12 obj.placeOrder(orderparams=order_params)
                               13 #obj.rmsLimit()
                          
                          File ~/.local/lib/python3.10/site-packages/smartapi/smartConnect.py:299, in SmartConnect.placeOrder(self, orderparams)
                              296     if params[k] is None:
                              297         del (params[k])
                          --> 299 orderResponse = self._postRequest("api.order.place", params)[
                              300     'data']['orderid']
                              302 return orderResponse
                          
                          TypeError: 'NoneType' object is not subscriptable
                          

                          @admin @administrators

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Chandra shekhar @T167171 last edited by Chandra shekhar

                            @T167171 said in Getting error on Place Order:

                            object is not subscriptable

                            very poor service

                            they have not good developer

                            1 Reply Last reply Reply Quote 1
                            • A
                              A Prakash last edited by

                              any solution. APIS are not working

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