-
Notifications
You must be signed in to change notification settings - Fork 65
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
Ticker Data #41
Comments
Let me know if you are looking for contributions . |
I don't think there is any code written to do it via Python SDK, I think each one will have to code it normally through Python code using websockets. Have you written any code and would like to share here? Thanks. |
Well, their websocket feed API seems to be broken at the moment. A month ago I put together some code and managed to connect and receive stock ticker data and it worked, however the index ticker wasn't working so I raised a support request for the same. They assured me to address the "issue" on "priority" but on the contrary a few days later websocket connection stopped working altogether. If I receive a positive response from them I'll post it here. |
LIVE NEWS: NSE has stopped that trading system. BSE is working fine. Maybe that's why it's not working? |
This is not about today. It hasn't been working for a while. Specifically, the LoginCheck API mentioned at [https://www.5paisa.com/developerapi/websocketformarketfeeds] now returns either |
Hmm... well, then I think you should raise support request via email referencing this issue. I'll try this tomorrow morning, currently there's no data that's possible to stream! Hopefully it works and they get a function to us, so we stop re-inventing the wheel again and again... 😞 |
Nah, it's not working. When they mean "Pass the SessionID", what do they mean exactly? Pass what? Or login first, obtain a session id and then pass that? @anilgupta83 what had you passed when it was working? |
The documentation on websocket is kind of sketchy. By session id they mean the cookie named '5paisacookie', this cookie is emitted on login and must be available on py5paisa client as something like client.session.cookies['5paisacookie']. My code is in golang which won't help much if I shared it here. |
Yes, |
Well, as I have mentioned earlier I have a ticket open with them for about a month. I keep pinging them in between, that's all we can do if the provider API is broken, no? :-) |
I just contacted them via support ticket, hopefully they'll help... |
Still no help. |
And now they aren't even replying to the follow-up emails! 🤣 Firstly they have the Python SDK, but don't have any websocket classes created in it. And secondly now the login API doesn't work. Thirdly it is impossible to contact them (after the initial message). Great! What should we do now? 😞 |
Hey @coder-amogh Trying to get that started soon. There was some issue which is now being solved. Soon will add it to the SDK as well |
I don't mind if it's added to SDK few months later. For now, I need to get the websocket working... There are bunch of projects I want to do with this APIs and I won't be able to do any of them because the websocket is not working. |
Hey @coder-amogh , |
Thank you so much!
At least a timeframe was definitely expected. Thanks again.
…On Sun, 4 Apr 2021, 18:13 rishabhmaniyar, ***@***.***> wrote:
Hey @coder-amogh <https://github.com/coder-amogh> ,
I got it!
It's highly prioritised even from our end web socket issue is being solved.
Check it next Friday hopefully you see changes done!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALPNBP7FTH32PCMBVDFLQCDTHBNFLANCNFSM4XDDQF6A>
.
|
5Paisa support replied that the issue is resolved, but it's not. Also a sample code is really appreciated. I cannot find literally, literally any single working piece of code of this websocket. |
Hey @coder-amogh , |
How many number of scrips you can request the LTP and Volume for? I tried a bunch of data today and it failed. When I tried just 10, it worked perfectly. What's the maximum number of scrips? Please mention it in the documentation: https://www.5paisa.com/developerapi/currentmarketdata Also, just now (when the market is open), how to get the opening price of any stock? I can only get the last closing price (of the previous trading day), today's high and low, LTP and volume. I cannot get the opening price, although in the documentation Also, just had a query, what happens when there's dividend distribution or when the stock's split, is the closing price adjusted according to it? |
Hey @coder-amogh , |
So they have closed my ticket as "resolved" and now https://www.5paisa.com/developerapi/websocketformarketfeeds page is gone. It appears they have withdrawn support for websocket feed. |
Same here. I'm in touch with them, they're saying its taking time. My project is stuck and I'm checking it almost everyday, but it's not working anyway. You can open another support ticket though. |
Hey guys, Sorry for long time getting response to web socket issue. Do share feedback |
@coder-amogh |
Yeah, 5paisa's response is really really fast, almost equal to the one which were on localhost. I guess I'll have to too set a deadline for myself. If the API doesn't get back within next week or something, I should be switching to a different broker. I can't just keep waiting for the 5paisa's API to be up. They might just keep waiting for the next few weeks or month, we don't know. |
It has started working as expected! |
Hey @coder-amogh is python WebSocket API working as of now? I keep getting bad handshake |
Yes, it's working. You can share the code, so the team can help find the issue you are facing. |
@coder-amogh I have shared, link below. Its Go lang |
How do we query ticker data ?
I found out that we need to query https://www.5paisa.com/developerapi/websocketformarketfeeds for live market feeds by accessing the APIs. How do we do it via sdk ?
The text was updated successfully, but these errors were encountered: