Navigation

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

    Order Failing intermittently

    Python SDK
    0
    2
    12
    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.
    • H
      HawkEye last edited by

      Requirement:
      GLAND - BUY at 3953.20 with Stop Loss: 3940.5 and Target: 3978.6 on 06-01 10:20

      {
      'variety': 'ROBO', 
      'tradingsymbol': 'GLAND-EQ', 
      'symboltoken': '1186', 
      'transactiontype': 'BUY', 
      'exchange': 'NSE', 
      'ordertype': 'LIMIT', 
      'producttype': 'BO', 
      'duration': 'DAY', 
      'price': 3953.2, 
      'squareoff': 25.4, 
      'stoploss': 12.7, 
      'quantity': 10
      }
      

      The order id is: 220106001156452
      Result:
      92a1edf9-056e-402b-8718-198d32c3f320-image.png

      H 1 Reply Last reply Reply Quote 0
      • H
        HawkEye @HawkEye last edited by

        @admin This issue happens when placing order in a loop. Only the first one succeeds and next fails. The rate limit is 10 requests per second and I am sure I don't exceed more than 2-3 calls per second.

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