Network Exception... Too many requests..

Manju
Hi.. my codes were running smoothly till yesterday... don't know what happened today... receiving error saying "Network exception.. Too many request.." i'm not requesting too many quotes also... pls help me on this..
  • Manju
    not able to send orders one by one... or request quote also..
    accepting only one request...
  • Manju
    this is the example codes

    last_price=kite.quote("NFO:BANKNIFTY18APRFUT")["NFO:BANKNIFTY18APRFUT"]["last_price"]
    print(last_price)
    last_price_2=kite.quote("NFO:BANKNIFTY18MAYFUT")["NFO:BANKNIFTY18MAYFUT"]["last_price"]
    print(last_price_2)
    last_price_3=kite.quote("NFO:BANKNIFTY18JUNFUT")["NFO:BANKNIFTY18JUNFUT"]["last_price"]
    print(last_price_3)
  • Vivek
    Since there is a rate limit to quote calls you can't call it more than once a second. So please update your logic to fetch price once a second only else you can use WebSocket to get live ticks.
  • Manju
    ok thank you...
This discussion has been closed.