Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live feed is not working #270

Open
rosevinod opened this issue Jan 1, 2024 · 0 comments
Open

Live feed is not working #270

rosevinod opened this issue Jan 1, 2024 · 0 comments

Comments

@rosevinod
Copy link

I am using SDK 5Paisa Python v0.7.6
The live feed is not working for the latest version.

def on_message(ws, message):
    print(message)


req_list = [
    {"Exch": "N", "ExchType": "C", "ScripCode": 2885}
]

req_data = client.Request_Feed('mf', 's', req_list)

print(f"{req_data=}")

client.connect(req_data)

client.receive_data(on_message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant