Polymarket official docs
Polymarket is now officially supported in quantpylib.
https://hangukquant.github.io/wrappers/polymarket/
with all of the clob client endpoints as well as the gamma endpoints in here:
This is again written with asynchronous support. Due to the nature of the betting exchange as opposed to traditional orderbooks - the wrapper is only partially gateway compatible (obviously, you would not want to run a market maker the same way you would perpetual arbitrage).
We will upload example scripts soon. We think this is a SIGNIFICANT improvement over the official github sdk, with more endpoints implemented, including undocumented ones we sneaked in by looking at the network requests. I found the dev experience and automated trading with their python client generally a horrendous experience - my goal is to make it seamless for you.
I believe the zeitgeist of tomorrow involve betting markets evolving in diversity and liquidity. This is a rather infant industry with tons of inefficiency but lacking in capacity.
However, with polymarket driving the way in DEX event-contracts and competitors sprouting up (Drift exchange BETA) I think there will be fantastic opportunities for small players to exploit inefficiencies.
As we add more markets, we will also come up with a natural gateway interface so that arbitraging these cross-platform opportunities will be a smooth dev experience.
quantpylib is our community github repo intended for learning and trading:
Alternatively, you an obtain the repo pass here:
https://hangukquant.thinkific.com/courses/quantpylib
cheerios~