Navigation

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

    Multi user order placement

    General Discussion
    5
    7
    90
    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.
    • C
      C1234 last edited by

      Dear admin,

      I am trying to place the same order for multiple clients at once. However, the login flow for each client takes about 0.8 seconds, so as the number of clients increase, this 0.8 seconds of delay for each clients adds up to a big number.

      I'd like to know is there a feasible multiuser order placement gateway?

      For instance, this is how I am able to place orders for multiple clients right now:

      iterate through a list of client credentials
      - generate smart api session for each client
      - place order for each client (clientapi, symbol, transaction)
      end loop

      Can someone guide me with a more efficient way to place multiuser orders?

      Thank you,
      Bharath Raj M

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

        HI @Bharath-Raj-M You are not allowed to place orders for all of your clients from your end using SmartAPI

        C 1 Reply Last reply Reply Quote 0
        • C
          C1234 @admin last edited by

          @admin Dear admin, can you be kind enough to tell me why we cant place orders for multiple clients?
          Am I missing something?
          Could you please guide me to the correct sources as well?

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

            Hi @Bharath-Raj-M Kinldy mail us all your queries regarding the order placement for mutiple clients at api@angelbroking.com.

            V 1 Reply Last reply Reply Quote 0
            • V
              vvbchandrasekhar @admin last edited by

              @admin i also want to know about this. might be helpful to mention here for the benefit of all.

              i am also doing login, then place orders and then logout.

              this will create unnecessary load on your servers also.

              S 1 Reply Last reply Reply Quote 0
              • S
                Surya 1 @vvbchandrasekhar last edited by

                @vvbchandrasekhar

                One can do the login and other stuff at beginning and keep the trading object for each user in a dictionary and use threads to submit them in parallel.

                but as per SEBI one can not do this unless they have some certification and approval from them.

                1 Reply Last reply Reply Quote 0
                • Y
                  yash12392 last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post