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

Adding support for a live stream of price data using websockets #26

Open
izzeww opened this issue Jan 17, 2024 · 2 comments
Open

Adding support for a live stream of price data using websockets #26

izzeww opened this issue Jan 17, 2024 · 2 comments

Comments

@izzeww
Copy link

izzeww commented Jan 17, 2024

This library doesn't support Yahoo Finance's live stream of price data using websockets, while some other Yahoo Finance libraries in other languages do. This would be very useful to have and is quite simple to add. If you want to test this API you can use Postman, mark it as websockets, the URL is wss://streamer.finance.yahoo.com/ and an example message you can send is {"subscribe":["^GSPC", "BTC-USD", "YM=F", "ES=F", "NQ=F", "^OMX", "INVE-B.ST", "EVO.ST"]} and then you will get back a continues stream of near-live stock price data.

I did a small code example of using this API in C#, including the necessary protobuf deserializing, which is in this repo.

@dshe
Copy link
Owner

dshe commented Nov 2, 2024

Thank you for your suggestion and example. Have a look at this new project using web sockets and reactive extensions:
YahooQuotesObservable

@KeithBrio
Copy link

KeithBrio commented Nov 2, 2024

What was the thinking behind creating a separate repo, rather than extending this one?

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

3 participants