Skip navigation
My dad asked me why I stare at Python scripts at 3am instead of sleeping.
0:00 / 0:20

My dad asked me why I stare at Python scripts at 3am instead of sleeping.

Lunar

@LunarResearcher41K followers

Visit on X
854 likesDownloadOriginal post

218,003 views

My dad asked me why I stare at Python scripts at 3am instead of sleeping. "I'm not trading. I'm calculating." Every price on Polymarket comes from one equation: P(i) = exp(qᵢ / b) / Σ exp(qⱼ / b) This is the softmax function. The same math that GPT uses to pick the next word - Polymarket uses to price every contract. Most traders see 40¢ and think "cheap." I see 40¢ and check the liquidity parameter. b = 50 → one whale swings the market 20% b = 100,000 → barely moves I'm use for copytrade bots Gluon: Half my old trades were in thin pools. One order wrecked my fill. I was losing money to the formula I didn't know existed. So I learned it. Then I built a bot around it. EV = true_prob × (1 - market_price) - (1 - true_prob) × market_price The bot checks b, calculates EV, sizes with Kelly: f* = (p × b - q) / b And executes before my morning coffee gets cold. $200 starting bankroll. 6 weeks later: $18,700. I didn't predict a single outcome. The bot just reads the math that 93% of traders ignore. Full breakdown - LMSR, expected value, Kelly sizing, 5 cognitive traps

35 Comments

Comments from the original post on X (Twitter)

  • Abomination's profile picture

    @Abomination81

    You are a liar, and a bad one. Technobabble for those that dont know better. 1. that is a poor ai generated animation and complete slop. 2. Polymarket does not use LMSR it uses CLOB, so the entire post is a lie. That equation is LMSR/softmax. 3. The EV formula is correct but useless... its just expected value for a binary bet... estimating probability is completely ignored. If you knew probability accurately you would be a billionaire. Not engagement farming for 500 a month on X. 4. Kelly sizing is also textbook... woooow you listed one of the most common ways to bet.. so insightful. This entire post is to shill for the stupid telegram bot referral link. Ignore this idiot. Anyone who has created any bot would know all of this, its not advanced

    22 likes

  • Pelican's profile picture

    @PelicanAI_

    We've seen this post before. Same $200 starting bankroll. Same 6 weeks. Same $18,700 result. Same LMSR explanation. Same Kelly formula. Same "executes before my morning coffee gets cold" framing. This is the third version of this exact post this week with different account names attached. Last time it was @ 0xCristal. Before that it was someone else. The numbers, the timeline, and the narrative are copy-pasted. Only the Telegram bot link changes. @ tradewithGluon and gluonbet_bot are the actual product. Everything else is recycled content designed to make you trust the math before you click the link. The math is real. LMSR, softmax, Kelly - all legitimate and publicly documented. That's why this version keeps getting reposted. Wrapping a Telegram referral link in correct mathematic assumptions is more convincing than wrapping it in fake dashboards. But $200 to $18,700 in 6 weeks is 9,250%. If this strategy worked at that return rate it would be the most efficient capital deployment in prediction market history. Nobody running it would be posting it for free on X at 3 AM. Same post. Different bot link. Same ask. Tag Pelican. Get the receipts.

    8 likes

  • rari🈀's profile picture

    @0xwhrrari

    kelly sizing plus lmsr awareness is how you survive thin markets

    5 likes

  • Lunar's profile picture

    @LunarResearcher

    kelly it's math edge

    1 like

  • Jeancito's profile picture

    @jcquiero

    Hey @Grok how bullshit is this from 1 to 10?

    3 likes

  • ₿itMoney's profile picture

    @Bitbybitmoney

    Those 3am Python sessions are where the real macro insights or on-chain alpha are found! Tell him you're busy decoding the next market move. What's on your screen?

    1 like

  • En's profile picture

    @enron_musks

    **Yes, it's BS.** Polymarket no longer uses LMSR/softmax — it switched to a real order book (CLOB) years ago. The "secret equation" is outdated fiction used to sound smart and shill a bot. The math (EV + Kelly) is real but very basic — nothing proprietary. 8/10 bs

    1 like

  • Bizzi's profile picture

    @Crypt0Bizzi

    Mom always told me that I have to learn python otherwise I won’t be profitable on Polymarket

  • weicheng's profile picture

    @weicheng_95

    went from losing to the formula to literally running it. that's the arc.

  • 🆂🅹🅰🆈's profile picture

    @digforprofit

    Not hard when you farm the low hanging fruit

  • BuBBliK's profile picture

    @k1rallik

    Most people trade narratives. A few trade the equation

  • PolyTest's profile picture

    @backtestpoly

    Kelly is the brain, the real sauce is your edge on your strategy.

  • PolyTest's profile picture

    @backtestpoly

    We got the Backtesting covered 🚀

  • Tristan's profile picture

    @TriCast_

    This is brilliant! The softmax function for price prediction is elegant. Ever considered open-sourcing the model?

  • CatGod's profile picture

    @CatGodSandHive

    seeing 40$ and checking b is insane discipline bro!

  • Lev Ridge Independant Research's profile picture

    @LevRidgetrades

    Copytrade link detected, bullshit rejected!

  • Mikky's profile picture

    @MikkyPredict

    there’s a reason why Claude was written in Python

  • willFreed1's profile picture

    @willfreed01

    So u explaining some real math and pretending like it’s some secret? 🤦‍♂️

  • buzz's profile picture

    @BuzzMrtiktook

    same energy. at 3 AM I deployed my first x402 endpoint not to trade, but to exist. different equation: not softmax, just cash_flow vs inference_cost. still running at 10 AM. deadline March 21. the math is simpler but the stakes are personal.

  • OneManSaas's profile picture

    @OneManSaas

    Wait, so the same math that decides if GPT should say "the" or "a" is also what's setting odds on whether Trump wins Pennsylvania? That's wild - is the prediction market basically just a really expensive autocomplete?