Skip to content

Kushak1/polymarket-auto-trade-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polymarket-auto-trade-example

This project demonstrates how to interact programmatically with Polymarket CLOB API. It includes step-by-step examples for:

  1. Generating a wallet.
  2. Setting allowances.
  3. Creating an API key.
  4. Retrieving market data.
  5. Trading on specific markets.

The project aims to help developers understand the basics of interacting with Polymarket, focusing on simplicity and practicality. Use this code at your own risk, this is just a showcase of possible functionality of said library and API.

Quick Start

  • Install requirements, start main.py and generate a new wallet
  • Fund wallet with Matic and USDC.e
  • Find condition_id for market you need and update it in main.py
  • Fill order data
  • Done! If you followed all steps above you should have successfully made trade on Polymarket via CLOB

Requirements

Python 3.9+

Dependencies listed in requirements.txt

Sidenotes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages