Coder to custom trading bot for Polymarket
Description
I am looking for an experienced Python developer to build a custom automated trading bot that connects to the Polymarket API, monitors market prices, and executes trades based on predefined rules.
The bot will trade Bitcoin-related Polymarket markets with a 15-minute expiry.
Trading Logic
- Entry Conditions
Buy YES if:
YES price is ≥ 70 and ≤ 73
Buy NO if:
NO price is ≥ 70 and ≤ 73
Trade amount for each entry: $X (configurable)
Only enter a position if there is no existing open position
- Order Handling
If an entry order fails to fill:
Re-check all entry conditions
If conditions are still valid, attempt to enter again
Continue retrying until filled or conditions are no longer met
- Exit Conditions
Stop Loss: Close the position if price drops to 60 or below
Take Profit: Close the position if price reaches 80 or above
- Time-Based Rules
6 minutes before market expiry:
Close all open positions, regardless of profit or loss
Do not open any new positions
Trading must remain disabled after this cutoff for that market
Functional Requirements Platform & Execution
Must run on:
Windows 10 and above
Latest Windows Server versions
Simple one-click start/stop mechanism (CLI command, batch file, or lightweight UI)
Configuration & Risk Management
Configurable parameters:
Trade size ($X)
Global kill-switch stop loss:
If total losses reach this amount, the bot must stop trading immediately
Configuration via file (JSON/YAML) or simple UI
API & Data Requirements
Full integration with Polymarket API:
Retrieve real-time market data
Place and manage trades automatically
Price data refresh rate:
As fast as Polymarket allows (target ~1 second, if permitted)
Proper handling of:
API errors
Rate limits
Network failures
Deliverables
Clean, well-structured Python code
Clear setup and usage instructions
Commented logic to allow future expansion
Future Work
If this project is delivered successfully, I will offer:
More advanced trading bot development
Higher compensation
Potential long-term collaboration
Budget: USD 50 (Fixed Price)
Proposals: 14 freelancers have applied