Skip navigation
Polymarket Market Making algorithm with ultra low latency on 15 min crypto markets.
0:00 / 0:33

Polymarket Market Making algorithm with ultra low latency on 15 min crypto markets.

Leo Margolis

@LeoMargolis_2.3K followers

Visit on X
607 likesDownloadOriginal post

98,274 views

Polymarket Market Making algorithm with ultra low latency on 15 min crypto markets.

58 Comments

Comments from the original post on X (Twitter)

  • Rōga's profile picture

    @TokensWolf

    bro connected ws and thinks he is hft now

    45 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    100%

    6 likes

  • David Nobel's profile picture

    @dnobel22

    > Ultra low letancy > Python and WS choose one sir.

    30 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    I am still working to make it faster but this is the fastest I have gotten it to run

    6 likes

  • David Nobel's profile picture

    @dnobel22

    you will still end up being restricted by the latency of the cloudflare endpoint you are hitting, when your theoretical minimum latency you should be aiming for is being included in the next block after the block you detect your opportunity on imo

    9 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    super cool thanks

    2 likes

  • Cody White's profile picture

    @cewh1te

    @dnobel22 > ultra low latency > emojis in the logs

    9 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    @dnobel22 I have those because it helps visualize the execution what is getting orderbook data vs placing orders at x price

    1 like

  • BrokerQuant's profile picture

    @BrokerQuantHQ

    Ah yes, let’s print everything to console when we run Ultra Low Latency code

    23 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    lol its really just to help with the visual

    3 likes

  • BrokerQuant's profile picture

    @BrokerQuantHQ

    Do post the profile though to see how this unfolds - build in public, trade in public

    4 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    I post this stuff but posting my address would compromise my strats and then all my edge would be gone so I stick to posting the structure stuff rather than the trading itself

    3 likes

  • BrokerQuant's profile picture

    @BrokerQuantHQ

    Unless it’s something super obscure, the value hardly ever lies in the idea of a strategy, but rather it’s execution. Addresses are public anyways and should be rotated to hide alpha leakage. Anyhow, enough seriousness - time to get back to shitposting

    7 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    unfortunately a couple of my very profitable strats r very susceptible to someone figuring it out and beating me. One of my main ones that I found last spring made me 2700% over about 500 trades but then other people started to figure it out and now I have way less opportunity to get good fills using that strat

    4 likes

  • BrokerQuant's profile picture

    @BrokerQuantHQ

    Strategies with outsized performance have faster alpha decay, and as markets mature, trivial strategies are Arb‘d out. Generally an indicator that the idea isn’t very unique, but execution to get it into production faster was. Rotate the addresses and post your dead alpha address

    7 likes

  • ziggy's profile picture

    @0x_ziggy0

    >ultra low latency >python bot printing to terminal ????

    20 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    @onchainziggy Im still working on it but it is the fastest mming algo I have made

    2 likes

  • HypingBull's profile picture

    @hypingbull

    People in comments really don’t understand that on Polymarket you can’t have super low latency. Trading from USA servers is prohibited. You can’t have a server in USA because of this. Maybe only some big MM have the privilege to trade from US, but it’s the private deals…

    14 likes

  • Leo Margolis's profile picture

    @LeoMargolis_

    yea and the biggest speed constraint is on their end and beyond stuff I can optimize

    7 likes

  • 5x8's profile picture

    @flyinghigh88888

    Ultra low is the 100ms?

    8 likes