Navigation

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

    Individual Order Status - Does not seem to work.

    NodeJS SDK
    0
    3
    8
    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.
    • A
      aarkay last edited by

      SmartConnect -> placeOrder(...) call is supposed to return uniqueorderid which i need to use it for subsequent order handling based on status by calling SmartConnect -> getIndividualOrderDetails(...), but the response model https://github.com/angel-one/smartapi-java/blob/main/src/main/java/com/angelbroking/smartapi/models/Order.java does not have uniqueorderid and calling getIndividualOrderDetails with placedorderid always fails with -> {"data":null,"message":"Order not found","errorcode":"AB1007","status":false}

      Please share fix in the official SDK.

      References
      https://github.com/angel-one/smartapi-java
      https://smartapi.angelbroking.com/docs/Orders
      https://smartapi.angelbroking.com/docs/Orders#place
      https://smartapi.angelbroking.com/docs/Orders#indorder

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

        @aarkay if you are still facing this issue, please provide the API response of placeOrder API that you are getting.

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

          @admin
          Log 1
          Order [disclosedQuantity=null, duration=null, tradingSymbol=null, variety=null, orderType=null, triggerPrice=null, text=null, price=null, status=null, productType=null, exchange=null, orderId=250219000056794, uniqueorderid=null, symbol=null, updateTime=null, exchangeTimestamp=null, exchangeUpdateTimestamp=null, averagePrice=null, transactionType=null, quantity=null, squareOff=null, stopLoss=null, trailingStopLoss=null, symbolToken=null, instrumentType=null, strikePrice=null, optionType=null, expiryDate=null, lotSize=null, cancelSize=null, filledShares=null, orderStatus=null, unfilledShares=null, fillId=null, fillTime=null]

          Log 2
          Order [disclosedQuantity=null, duration=null, tradingSymbol=null, variety=null, orderType=null, triggerPrice=null, text=null, price=null, status=null, productType=null, exchange=null, orderId=250219000073345, uniqueorderid=null, symbol=null, updateTime=null, exchangeTimestamp=null, exchangeUpdateTimestamp=null, averagePrice=null, transactionType=null, quantity=null, squareOff=null, stopLoss=null, trailingStopLoss=null, symbolToken=null, instrumentType=null, strikePrice=null, optionType=null, expiryDate=null, lotSize=null, cancelSize=null, filledShares=null, orderStatus=null, unfilledShares=null, fillId=null, fillTime=null]

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