Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. shashwatVar
    3. Best
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by shashwatVar

    • Basket order support

      Hi team, wanted to know the support in the smart API SDK / API endpoints for the following action:

      • creating a basket order
      • adding stocks to a particular basket
      • ordering a basket

      cc @admin

      posted in General Discussion
      S
      shashwatVar
    • ws: acknowledgement on order rejection

      what ?

      • order via placeOrder method -> the returned response was this :
      {
        status: true,
        message: 'SUCCESS',
        errorcode: '',
        data: {
          script: 'MIDCPNIFTY05FEB2410375PE',
          orderid: '240205000140605',
          uniqueorderid: 'b837bc9d-8113-4bdc-b515-696e5bea278f'
        }
      }
      
      • on checking the angel platform saw that the order was rejected (placing an order through the placeOrder method, the returned response indicates success, but upon further verification on the Angel platform, the order appears to be rejected)
        WhatsApp Image 2024-02-05 at 11.38.05 AM.jpeg

      • need a way to detect order rejection programatically -> I understand that the first API call might not be directly responsible for executing the order (might be placing transit orders in a queue), hence it might not be able to return the correct order execution status. This is a crucial requirement -> otherwise there is a duplication of effort in terms of executing orders via the api and checking them simultaneously on the Platform.

      • the callee should be responded with what happened to the order. If there is already an implementation for the same, will be happy to know.

      posted in Bugs
      S
      shashwatVar