Back to articles

Built a 'Guess the Sharpe Ratio' game, someone immediately wrote a bot to cheat it using the network tab

via Reddit Programming/u/VertoxQuant

I built a game called "Guess the Sharpe Ratio". You're shown an equity curve and have to estimate its Sharpe ratio. Within a day of launching, someone had written a browser extension that plays it automatically. Here's how the exploit works: the game generates equity curves server-side and sends the values to the frontend to render with Chart.js. Those values are visible in the Network tab. The extension intercepts the response, computes the Sharpe ratio directly from the returned equity array, and auto-submits the exact answer. I know avoiding cheating with a game like this entirely is impossible. What are the best ways to make this more difficult, though? submitted by /u/VertoxQuant [link] [comments]

Continue reading on Reddit Programming

Opens in a new tab

Read Full Article
4 views

Related Articles