How hkirat/probo-polymarket-arb works
Project type and purpose
• This is a backend‐only arbitrage bot (“arb-bot”) written in TypeScript and running on the Bun runtime.
• It continuously fetches market data from two exchanges (Polymarket and Probo), computes arbitrage opportunities, and executes trades via a central limit order book client.
File structure
• Top level:
– index.ts: main entrypoint / orchestrator
– index.test.ts: unit tests for the orchestrator
– polymarket.ts & probo.ts: adapters to fetch prices and submit orders on each exchange
– clob-client/… : reusable client library for interacting with a CLOB (central limit order book)
– types.ts: shared type definitions & interfaces
• Configuration & tooling:
– bun.lock & package.json: dependency management
– tsconfig.json: TypeScript compiler settings
README for additional insights
• Confirms Bun as runtime, simple npm/bun scripts for install & run