OpenApi-5p / py5paisa

Official Python SDK for 5paisa APIs natively written in VB .NET
https://5paisa.github.io
89 stars 68 forks source link

Market Feed abruptly terminates #258

Open ssjha opened 1 year ago

ssjha commented 1 year ago

Description

The market feed data terminates after couple of minutes. I am getting the below error ERROR-[WinError 10054] An existing connection was forcibly closed by the remote host - goodbye

What I Did

The feed streaming start but it abruptly terminates.

req_list=[
            { "Exch":"N","ExchType":"C","ScripCode":1660},
        ]
req_data=cnnmaster.Request_Feed('mf','s',req_list)
cnnmaster.connect(req_data)
cnnmaster.receive_data(on_message)