News for hackers. Stuff that matters.
Re:A terminal stock watcher and stock position tracker by rayshan on Wednesday February 03, 2021 @01:43PM (#26017394)
Great work! I see that you're using Yahoo Finance data. Yahoo deprecated its API so your data could stop flowing at any time. You can try free services like Alpha Vantage [0] or Google Finance formulas in Google Sheets exposed as an CSV / JSON. Another way is to hook up a freemium service like IEX [1] and ask your users to BYOK - bring your own key. I use IEX for my stock watching browser extension [2] and eat the costs for my users. It's not too bad.

[0] https://www.alphavantage.co/

[1] https://iexcloud.io/

[2] https://finance.shan.io/stock-inspector-discover-new-compani...

Re:A terminal stock watcher and stock position tracker by omneity on Wednesday February 03, 2021 @03:44PM (#26018851)
An alternative way is to monitor the data and extract it from the Yahoo Finance website itself (or another one for the matter).

We solve this at Monitoro[0] and we make it easy to receive alerts or just store historical prices in SaaS apps and automation platforms. No fear of losing access to the API, and no need for coding in the first place.

(Disclaimer: I'm the founder)

[0]: https://monitoro.xyz

Re:A terminal stock watcher and stock position tracker by rayshan on Wednesday February 03, 2021 @04:45PM (#26019571)
I think your service is super helpful for many small volume use cases! But it doesn't come with guarantees right? Like if Yahoo moves its UI around, change elements and classes, etc.
Re:A terminal stock watcher and stock position tracker by omneity on Wednesday February 03, 2021 @04:58PM (#26019705)
not yet, but you will be notified that extraction has stopped, and you can fix it in a few seconds.

We want to make it eventually robust to changes unless the data was really removed from the webpage you’re monitoring.

Re:A terminal stock watcher and stock position tracker by omneity on Thursday February 04, 2021 @09:52AM (#26025763)
Show don't tell right?

Here's a Euronext tracker built on Airtable and Monitoro. It can also send notifications on Slack/Discord/...

https://www.monitoro.xyz/demo-euronext

Re:A terminal stock watcher and stock position tracker by Glench on Wednesday February 03, 2021 @02:47PM (#26018248)
Have you considered charging for your extension? I just made https://extensionpay.com which makes it easy to add payments in your extension without needing to run your own server.
Re:A terminal stock watcher and stock position tracker by rayshan on Wednesday February 03, 2021 @04:51PM (#26019639)
I have! This is timely because Chrome Web Store just killed its payment system. How does this compare to using Stripe out of the box?

BTW I think someone was trying to start a browser extension developer guild on HN, can't remember which thread... You should tap into that community.

Re:A terminal stock watcher and stock position tracker by Glench on Wednesday February 03, 2021 @05:03PM (#26019749)
> How does this compare to using Stripe out of the box?

Basically you don't need to run your own server / database / custom Stripe integration code / user management system / custom extension integration, which is annoying to write yourself and costs money to run a server. With ExtensionPay you just add a little code in your extension [open source here](https://github.com/Glench/ExtPay) and register your extension in the web UI. I made it for use in my own extensions :)

> BTW I think someone was trying to start a browser extension developer guild on HN, can't remember which thread... You should tap into that community.

Cool, I'll check it out, thanks. Any other hints to how I could find it?

Re:A terminal stock watcher and stock position tracker by rayshan on Wednesday February 03, 2021 @11:28PM (#26022587)
That makes sense, I'd try it before rolling my own. If I do charge, it'll be a recurring subscription.

I found it! Look at the end of this post. I submitted the form but didn't hear back though. If you find anything let me know, I'd love to connect with fellow extension builders.

https://blog.lipsurf.com/part-ii-after-3-years-of-work-chrom...

Re:A terminal stock watcher and stock position tracker by Glench on Saturday February 06, 2021 @09:34AM (#26046732)
Great! I'm working on adding subscriptions now. And thanks for the guild link!
Re:A terminal stock watcher and stock position tracker by xeonoex on Wednesday February 03, 2021 @02:54PM (#26018324)
Isn't AlphaVantage free limited to 5 requests a minute and 500 a day? And it requires an API key?
Re:A terminal stock watcher and stock position tracker by rayshan on Wednesday February 03, 2021 @04:39PM (#26019506)
I think it's a soft limit? I haven't run into the limit, but then it's not my primary data vendor. Just ask them and they'll give you an API key for free.
Re:A terminal stock watcher and stock position tracker by xeonoex on Wednesday February 03, 2021 @06:23PM (#26020592)
I have api key, but I obeyed the (low) limits when I used it. I heard a lot of recommendations for it, but was surprised with the free tier limit.