It looks like you're new here. If you want to get involved, click one of these buttons!
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))
You shouldn't block the main thread. You can use on_order_update callback and use that as an event to fetch orderbook. Again make sure you don't block thread while fetching orderbook
It is up to you, you can use postbacks API or order update via websockets. Postback API only gets update for the orders that are placed via API but order updates via websockets are pushed for all orders.
on_order_update will receive all order update?
'Connection aborted.', OSError(107, 'Transport endpoint is not connected'
Are you using pykiteconnect or you are writing your own wrapper? Can you paste the code that is throwing this error?
And please paste the complete stack trace. Yes, it will be triggered when there is an order update. Go through this documentation to know more.