Umweltschutz Links
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cows Look Like Maps@lemmy.ca to Anticonsumption@slrpnk.netEnglish · 1 month ago

Elon Musk Loses a Billion Dollars Every Time the Tesla Stock Drops by $2.43

www.ibtimes.co.uk

external-link
message-square
55
fedilink
508
external-link

Elon Musk Loses a Billion Dollars Every Time the Tesla Stock Drops by $2.43

www.ibtimes.co.uk

Cows Look Like Maps@lemmy.ca to Anticonsumption@slrpnk.netEnglish · 1 month ago
message-square
55
fedilink
A growing negative sentiment around Tesla is driving a mass exodus of customers to rival EV brands, including BYD and Lucid Motors.
  • Boomer Humor Doomergod@lemmy.world
    link
    fedilink
    English
    arrow-up
    67
    ·
    1 month ago

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

    • Monte@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      29
      ·
      1 month ago

      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.

      • vfsh@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        8
        ·
        1 month ago

        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

        • Monte@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 month ago

          I’m just hosting it on GitHub pages. Here is the repo.

          • vfsh@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            3
            ·
            1 month ago

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

    • oxysis@lemm.ee
      link
      fedilink
      English
      arrow-up
      17
      ·
      1 month ago

      I’ll add 10¢ to the pot

    • bpev@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 month 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. 😭

    • dreadbeef@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month ago

      https://yewtu.be/watch?v=uS1KcjkWdoU

Anticonsumption@slrpnk.net

anticonsumption@slrpnk.net

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !anticonsumption@slrpnk.net
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 13 users / week
  • 572 users / month
  • 1.27K users / 6 months
  • 1 local subscriber
  • 603 subscribers
  • 34 Posts
  • 186 Comments
  • Modlog
  • mods:
  • Sibbo@sopuli.xyz
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org