Inspiration
When the price on Polymarket swings 5% in a few minutes, most traders are left wondering why it happened. People would usually have to dig through Twitter, Discord, or search through block explorers to figure out what happened. We wanted to build something that just tells you the answer instantly so you don't miss the trade.
What it does
It’s a browser extension that adds a chart overlay to Polymarket that indicates big price movements with a triangle. When the triangle indicator is clicked, it tells you if the move was caused by a specific news event, a "whale" making a huge trade, or if the reason is unknown. You get an impact score, a confidence rating, and links to the actual sources—all in under 10 seconds.
How we built it
We used Polymarket's Gamma and Clob API to track real-time price data. For the news side, we integrated X's api to grab tweets from users that matches the timeline during any significant price change. For the whale's side, we used Polymarket's public clob api to track large valume buys from a single account for a specific event.
Challenges we ran into
Some of challenges that we encountered along the way was integrating our own chart UI over the Polymarket's graph UI. We had to find an element with a HTML ID as an achor and work backwards by counting the div blocks and then removing the whole chart. Then we added our own tradingview chart overlay that replaces the old Polymarket chart with the analysis features.
Accomplishments that we're proud of
We were able to successfully integrate the significant price change indicator, X's news feed, large whale buys, and overlaying our own chart over the Polymarket's chart. We’re also really happy with how clean the overlay feels. It doesn't clutter the UI, and it actually gives you a clear answer instead of just more data.
What we learned
We learned a lot about how fast these markets actually are. Often, the price moves before a news article is even published because people are reacting to raw data or large trades. Other times, news drives large whale buys, and therefore the reason behind some price changes are driven by news and whales.
What's next for Sting
We want to make the alerts even faster and maybe add a feature that pings you before the 5% move happens if we see a whale starting to build a position. We also want to bring this to other prediction markets so it’s not just limited to Polymarket.
Next, we want to add a feature that scrapes YouTube videos related to the market event. We’ll transcribe those videos and use AI to analyze the text to find the best possible explanation for why the price moved.
Log in or sign up for Devpost to join the conversation.