this post was submitted on 03 Apr 2025
498 points (98.1% liked)

Anticonsumption

547 readers
112 users here now

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 64 points 2 days ago (4 children)

I'm giving a $15 bounty to whoever can code a website to ring a tiny bell every time this happens

[–] [email protected] 27 points 1 day ago (1 children)

I made a super basic site to track the price difference since the page has loaded. A tiny bell rings if the price has gone down more than $2.43, but you might need to leave the page open for a day or 2 to actually see the price drop enough to ring the bell. I am using a free api to track the price, which has a limit to 30 requests per second. So if the page doesn't fully load for you, wait a few minutes and try reloading the page.

[–] [email protected] 7 points 1 day ago (1 children)

If request rates start getting problematic you could probably drastically reduce the refresh rate, seems like once per second right now which is way overkill IMO.

Also if you want to share the source I can host a mirror of it to further increase resilience to API ratelimits

[–] [email protected] 5 points 1 day ago (1 children)
[–] [email protected] 2 points 16 hours ago

Thanks! I grabbed my own key from FinnHub and am now hosting a mirror at https://tinybell.vfsh.dev/

[–] [email protected] 17 points 2 days ago

I’ll add 10¢ to the pot

[–] [email protected] 6 points 1 day ago* (last edited 1 day ago)

Looks like polygon api can get live data 5/req a minute? https://polygon.io/pricing

I'm not super familiar with finance lingo; how is a "stock price" usually determined? ~~SMA?~~

edit: seems like "last quote" or "last trade" are probably the best for this kind of thing? https://polygon.io/docs/rest/stocks/trades-quotes/last-quote Those apis cost money, though. 😭