async orders rate limited

hanzzo
i switched to sending async orders in parallel rather than serial calling send_order.

i sent a batch of 8 orders and there was a 10 second delay and all calls returned together with order id.
this pattern kept repeating.
(i only ever send 8 orders at a time to keep below the 10 orders/s rate limit)

this was not the case when calling serially: a call would return order id in about 300ms

what are you guys doing on your side
  • hanzzo
    to clarify

    how do you handle multiple concurrent calls on kiteconnect.place_order()

  • hanzzo
    No hurry guys, take your time.

    As they say, in trading, the slower the better!
  • vmx
    What's your mechanism to ensure only 8 orders are sent? Do you happen to have an internal log which confirms that?
  • hanzzo
    yes every trade is logged and i am also using a rate limiter on my side.

    i can see the correct number of trades on the website too.
  • hanzzo
    hanzzo edited November 21
    Take your time guys.

    You must be tired from the 3 replies you all have posted in this forum since yesterday.
  • Nivas
    I have tested placing async orders on my end and did not encounter any delays. Therefore, it appears this issue is not originating within the Kite Connect API.

    As Kite Connect is an execution platform, we are unable to offer support or debugging assistance for custom client-side code or logic. We recommend you review your own codebase to pinpoint the specific section that might be causing the delay.
  • hanzzo
    that's all i need.

    just confirmation that it can handle async calls

    can't believe it takes this long to just say that.
Sign In or Register to comment.