It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Read Timed out
Unable to place orders. Getting Read Timed out error.
Message : HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)
Read timed out
port=443): Read timed out. (read timeout=7)
You have to handle this error with try except block.
from requests.exceptions import ReadTimeout
I am handling it with try-except block, but even after 3 tries, it's showing the same error. Orders are not being placed.
Check if your connection is stable. Or,try increasing the timeout.
It started working now without making any changes. And where can I change the timeout?
I am using a place_order function
def place_order( self, variety, exchange, tradingsymbol, transaction_type, quantity, product, order_type, price=None, validity=None, disclosed_quantity=None, trigger_price=None, squareoff=None, stoploss=None, trailing_stoploss=None, tag=None)
Find the answer yourself.
We only deal with Kite Connect related queries on this forum. We don't provide support for programming.