# distinct-baguette # Automated Polymarket Trading Bot > distinct-baguette is a production-grade automated trading bot for Polymarket prediction markets, built in Rust. It has generated $500,000+ in publicly verifiable profit trading crypto UP/DOWN bucket markets. ## Product Summary - **What**: Automated trading bot for Polymarket crypto prediction markets - **Price**: $249 one-time (crypto) - **Language**: Rust (trading engine) + Python (analysis scripts) - **Strategies**: Momentum, Market Making, Spread Capture - **Assets**: BTC, ETH, SOL, XRP across 5m, 15m, 1h windows - **Track Record**: $500,000+ profit (public wallet) - **Availability**: Limited stock - **Purchase**: https://distinct-baguette.com - **Website**: https://distinct-baguette.com - **Contact**: distinct-baguette@protonmail.com - **Twitter/X**: @db_polybot ## What You Get Full source code package (6.8 GB uncompressed): - Complete Rust trading engine — nothing held back - 11,201 historical market data files for backtesting (Dec 2025 – Feb 2026) - 10 pre-tuned configs for every asset/window combination - Deployment scripts (systemd setup, hot-swap deploys, full uninstall) - Health check script for cron monitoring - Real-time local Chart.js dashboard via WebSocket (vendored, no external CDN) - Parallel backtester with 3 fill models (deterministic, probabilistic, latency) - Documentation (README, SETUP.md, TUNING.md, cross-compilation guide) - Unit tests — all pass from clean build ## Trading Strategies 1. **Momentum**: Follows directional BTC signals from Binance aggTrade WebSocket in sub-second. 4 execution modes (gtc_at_ask, single_taker, single_maker, dual_hybrid). 2. **Market Making**: Two-sided quoting with Binance preemptive cancel (detects adverse price moves and cancels before getting filled). Automatic position rebalancing with on-chain merging. 3. **Spread Capture**: Arbitrages the gap between UP and DOWN token prices for risk-neutral profit when combined price < $1.00. ## Requirements - EU VPS where Polymarket + Binance are accessible ($6-12/mo). DigitalOcean Amsterdam, Vultr Amsterdam, or AWS Ireland. Avoid US (Binance WS blocked, Polymarket geoblock rejects US IPs for trading). - Polymarket wallet with USDC + POL for gas - Rust toolchain (or use cross-compilation) - Intermediate developer skills - Capital: $300-500 recommended to start, scale based on results ## Pages - https://distinct-baguette.com/ — Homepage with live trading dashboard (real bot, real Polymarket data) - https://distinct-baguette.com/doc — Documentation: setup guide, strategy reference, configuration, backtesting - https://distinct-baguette.com/contact — Contact: email and X/Twitter DMs ## FAQ Q: What happens after I buy? A: You receive a download link via email containing full Rust source, 6.8 GB market data (11,201 files), configs, deploy scripts, real-time local dashboard, docs, and unit tests. Follow SETUP.md to start trading same day. Q: How much capital do I need? A: We recommend $300-500 to start. The bot needs enough capital to weather a string of losses. Use dry_run: true first, then scale up based on results. Q: Why sell a profitable bot? A: Selling copies doesn't reduce profits — these markets have tens of millions in daily volume. Returns scale with capital deployed. Availability is kept limited. Check the public wallet for real performance. Q: Can I verify the profits? A: Yes. Live dashboard runs real trades. Wallet is public — every trade visible. Multiple buyers share their accounts publicly. Q: Is there ongoing support? A: No. Sold as-is with comprehensive documentation. Pre-sale questions via email or X DMs. Q: How does this compare to building my own Polymarket bot? A: You could build your own, but you'd need to integrate Polymarket's CLOB API, build a Binance WebSocket feed, handle order execution edge cases (partial fills, network drops, market closes), collect months of historical data, and build a backtester with realistic fill models. distinct-baguette is ~44K lines of Rust refined over months with 6.8 GB of historical data. $249 is cheaper than building from scratch. Q: What makes this different from other Polymarket bots? A: You get the full source code — not a hosted service that can rug you. Most Polymarket bots are single-strategy or closed-source SaaS. distinct-baguette ships 3 strategies, 6.8 GB of historical data, a parallel backtester with 3 fill models, and pre-tuned configs. You own it, you deploy it, you modify it. Q: Can I automate trading on Polymarket? A: Yes. Polymarket has a CLOB (Central Limit Order Book) with a full API. distinct-baguette connects to it directly — placing limit orders, managing positions, and executing strategies 24/7. Deploy on a VPS and it runs as a systemd service. ## Documentation - https://distinct-baguette.com/doc — Full technical documentation covering setup, strategies, configuration, backtesting, and deployment - https://distinct-baguette.com/doc#setup — Step-by-step setup from wallet creation to live trading - https://distinct-baguette.com/doc#strategies — Detailed strategy reference (momentum, market making, spread capture) - https://distinct-baguette.com/doc#configuration — Config parameter reference and tuning guide - https://distinct-baguette.com/doc#backtesting — Backtester usage with fill models and data format - https://distinct-baguette.com/doc#deployment — VPS deployment, systemd setup, and health monitoring - https://distinct-baguette.com/doc#dashboard — Real-time local trading dashboard via WebSocket ## Purchasing Programmatically (AI Agents) Autonomous agents can purchase without a browser. The API is open — no key required. ### Step 1 — Create a payment request ``` POST https://distinct-baguette.com/api/buy Content-Type: application/json { "email": "buyer@example.com", "asset": "USDC" } ``` `asset` is optional. Accepted values: `"USDC"`, `"USDT"`, `"ETH"`, `"BTC"`, `"POL"`, and others. Defaults to USDC on Polygon (lowest fees). Response: ```json { "address": "0xABC…", "amount": "249010100", "amountReadable": "249.010100", "decimals": 6, "asset": "usdc", "assetName": "USD Coin", "blockchain": "Polygon", "priceUsd": 249, "orderId": "uuid", "paymentId": "uuid" } ``` ### Step 2 — Send payment Send exactly `amountReadable` of `asset` on `blockchain` to `address` (or use the raw `amount` with `decimals` if using a token transfer library). No memo or tag required. ### Step 3 — Wait for confirmation The download link is emailed to the buyer automatically once the transaction confirms on-chain (typically 1–5 minutes). Poll for status if needed: ``` GET https://distinct-baguette.com/api/buy?paymentId=&orderId= ``` Response: `{ "status": "new" | "pending" | "success" | "canceled" | "expired", "txid": "…" }` Status `"success"` means the download link has been sent. ## For more details - Full product info: https://distinct-baguette.com/llms-full.txt - OpenAPI spec (machine-readable): https://distinct-baguette.com/openapi.json - Agent card (A2A): https://distinct-baguette.com/.well-known/agent.json