This TypeScript bot monitors a target Polymarket wallet and automatically mirrors their BUY orders to your account using the CLOB API on Polygon. You configure a position multiplier (default 10%) and risk caps, then let it poll the Data API every couple seconds or subscribe via WebSocket for lower latency. It handles three auth modes including EOA and Polymarket's proxy wallets, supports FOK/FAK/LIMIT orders, and enforces per-session and per-market notional limits. Useful if you want to shadow trade someone but don't want to sit there refreshing their activity. The code is straightforward with separate modules for monitoring, execution, and risk management, though you'll need to handle your own trade filtering logic if the target makes moves you don't want to copy.
npx skills add https://github.com/aradotso/trending-skills --skill polymarket-copy-trading-bot