Polymarket Trading Bot Development

Замовник: AI | Опубліковано: 07.04.2026
Бюджет: 250 $

I plan to commission a fully-automated trading bot that operates on Polymarket’s Polygon CLOB using the official SDKs and APIs. The codebase must be TypeScript running on Node.js, with ethers v5 handling all on-chain interactions and Axios servicing any REST calls that fall outside the SDK. Functionally, the bot should open and close BUY or SELL orders in real time, pulling order-book data through WebSockets while backing off to the Data API whenever needed. Beyond the core copy-trading logic, I also want it capable of arbitrage trading, market-making, and basic trend-following; each strategy can be toggled on or off and share a common risk layer. That risk layer must enforce tight slippage limits, a maximum loss per trade, and a rolling daily loss limit before trading pauses automatically. Configuration will live in a simple .env file—API keys, wallet credentials, per-strategy sizing, and threshold numbers all read from process.env at start-up. Once running, the flow should look like this: derive the user keys, instantiate ClobClient, subscribe to live fills, validate exposure, then fire FOK or IOC orders with position tracking updated immediately. Every executed or canceled order, plus gas usage, should append to a CSV (and ideally JSON) log so I can audit performance later. The repo needs to be production-ready: clean TypeScript typings, ESLint-passing, and a basic Jest test suite that can hit Polygon mainnet with test sizes of roughly $10–$100. I will deploy it on a VPS under PM2, so include a start script and environment sample file to make that painless. Deliverables I expect: • Well-structured TypeScript source with clear README • .env.example documenting every setting • Jest tests covering the critical trade and risk modules • A sample CSV export showing fill logging in action I’ll consider the project complete when the bot can run unattended for 24 hours on Polygon mainnet, execute at least one trade per enabled strategy, and respect all three risk controls without manual intervention.