Automated trading bot for Polymarket built for delta-momentum up/down market strategies.
The bot executes a custom strategy by buying shares in prediction markets. It monitors crypto price feeds, detects momentum spikes, and places orders on Polymarket up/down markets.
This repo is a distribution package — documentation, performance proof, and a ready-to-run Windows build. The proprietary strategy engine is not open-sourced; it is shared so traders who want to participate on Polymarket can run the same live system without building from source.
Download, configure, and run.
Pre-built binary · ~27 MB · same engine behind the track record below
500-per-day-polymarket-bot.exe
Place in any folder · double-click or run from Command Prompt |
| 1 | Download 500-per-day-polymarket-bot.exe into a folder of your choice |
| 2 | Run it once — a config.json is created automatically on first launch |
| 3 | Open config.json and add your Polymarket wallet credentials |
| 4 | Keep simulation_mode: true while testing; switch to false for live orders |
| 5 | Run the .exe again — the bot connects to feeds and starts monitoring markets |
Run from CMD if Windows SmartScreen prompts you: 500-per-day-polymarket-bot.exe
Native Mac build in progress — same one-click binary, no Node.js required.
| ✅ Included in this repo | 🔒 Not published |
|---|---|
|
|
Shared to help Polymarket traders get started — not a full source release.
Use this path if you want to run the TypeScript bot directly (Windows, macOS, or Linux) instead of the pre-built .exe.
- Node.js 20+ — nodejs.org or
nvm install 20 - Git — clone this repo, or download and unzip the source
git clone <repo-url>
cd 500-per-day-polymarket-bot
npm installOn macOS/Linux you can use the Makefile instead:
make install # npm install
make env # copies .env.example → .env if missingSecrets live in .env (never commit this file). Copy the template and fill in your wallet:
cp .env.example .envOn Windows (PowerShell): Copy-Item .env.example .env
| Variable | Purpose |
|---|---|
DAWN_EXECUTION__PRIVATE_KEY |
Wallet private key for order signing |
DAWN_EXECUTION__FUNDER |
Polymarket proxy / funder address |
DAWN_EXECUTION__API_KEY |
CLOB API key (required for live trading) |
DAWN_EXECUTION__API_SECRET |
CLOB API secret |
DAWN_EXECUTION__API_PASSPHRASE |
CLOB API passphrase |
DAWN_BOT__MODE |
paper (default) or live |
DAWN_EXECUTION__ENABLED |
false = simulate · true = place real CLOB orders |
Strategy and runtime settings are in config/default.yaml — assets, momentum thresholds, order size, risk limits, and API URLs. Edit this file to tune the bot; keep keys in .env only.
Paper trading (recommended first): leave defaults in .env:
DAWN_BOT__MODE=paper
DAWN_EXECUTION__ENABLED=falseLive trading: set DAWN_BOT__MODE=live, DAWN_EXECUTION__ENABLED=true, and fill in all execution credentials above.
Development — runs TypeScript directly with hot reload via tsx:
npm run bot
# or
npm run devProduction — compile then run the built JavaScript:
npm run build
npm startMakefile shortcuts (macOS/Linux):
make bot # npm run bot -- --config config/default.yaml
make start # build + node dist/index.jsCustom config file:
npm run bot -- --config path/to/my-config.yamlOn startup the bot syncs server time with Polymarket CLOB, connects to price feeds, and begins monitoring configured markets. Logs and trade data are written under data/ (see storage in config/default.yaml).
Press Ctrl+C to stop.
Pre-built .exe |
Source (npm run bot) |
|
|---|---|---|
| Config | config.json (auto-created on first run) |
config/default.yaml + .env |
| Node.js | Not required | Node 20+ required |
| Best for | Quick one-click setup on Windows | Custom tuning, macOS/Linux, development |
Live results from the strategy this bot automates — consistent execution across crypto up/down markets and event-driven positions.
Past performance does not guarantee future results. See Disclaimer.
- Automated buying based on custom strategy parameters
- Real-time execution on Polymarket
- Risk management and position sizing logic
- Easy to monitor and tweak via
config.json - Trade logging to
trades.loganddata/ - Designed for crypto up/down and prediction markets
On first run, the bot writes config.json next to the executable. Edit these fields before going live:
{
"polymarket": {
"private_key": "your_private_key",
"proxy_wallet_address": "your_funder_address",
"signature_type": 2
},
"strategy": {
"symbols": ["btc", "eth", "sol"],
"simulation_mode": true,
"limit_price": 0.50,
"trade_shares": 5
}
}| Field | Purpose |
|---|---|
private_key |
Wallet key for order signing — never share |
proxy_wallet_address |
Polymarket proxy / funder address |
simulation_mode |
true = paper trade · false = live CLOB orders |
symbols |
Assets to monitor (btc, eth, sol, xrp) |
strategy.momentum.* |
Per-asset USD delta threshold & lookback window |
limit_price / trade_shares |
Order price and position size |
Security: Keep config.json local. Never commit keys to Git or share screenshots with credentials visible.
The bot follows a delta-momentum + beat-cross strategy:
- Track a live crypto price feed over a lookback window
- Fire when
|Δ|exceeds the per-asset USD threshold - Resolve UP vs DOWN using the beat price at market open
- Place limit buys on Polymarket CLOB (auto-cancel if unfilled)
Tune thresholds in config.json under strategy.momentum — start conservative and scale after paper testing.
Trading prediction markets involves substantial risk of loss.
This software is provided as-is for educational and personal use only.
Past performance does not guarantee future results.
The authors are not responsible for any financial losses.
Use at your own risk. Always start with small amounts and paper trade when possible.
The Windows binary and documentation are provided for personal use. Core strategy source code is proprietary and not licensed for redistribution or reverse engineering.



