Darshana Manikkuwadura (Dash)
180 posts

Darshana Manikkuwadura (Dash)
@DashMOfficial
Tech Leader & Founder | Fintech, AI, Web 3 & Payments Expert | Visiting Lecturer | Advisor | Ambassador and Global Speaker | Investor | 4x Startup Founder




How to build a self-learning Polymarket BTC UP/DOWN trading bot using Hermes Agent (FULL GUIDE) No coding experience required. Here's the full setup in 7 steps Hermes is an open-source autonomous agent by NousResearch - an AI lab backed by $70M from Paradigm The key difference from other agents: Hermes doesn't just execute instructions - it accumulates knowledge after every trade and builds its own strategy over time. The longer it runs, the smarter it gets Step 1. Install Hermes via Atomic > Go to atomicbot.ai - this is the easiest way to run Hermes without touching CLI > Download the app or choose "Run in Cloud" if you don't want a local setup > Connect your model API - Claude, OpenAI Codex, or free local models like Gemma or Qwen > Connect your Telegram bot via the Skills tab for real-time notifications on every trade Step 2. Feed it a trading repo > Instead of building logic from scratch - find a GitHub repo with ready-built trading logic and give it to Hermes > Best repos for Polymarket crypto UP/DOWN markets right now: • JLowo/gengar_polymarket_bot - Quarter-Kelly sizing, Brownian motion probability model, circuit breaker, Telegram • joicodev/polymarket-bot - Black-Scholes, EWMA volatility, cleanest math • djienne/Polymarket-bot - two strategies: Gabagool arb and Smart Ape momentum, web dashboard > Pick one and send Hermes the repo link with your requirements Step 3. Key prompt to send Hermes > Tell it to build the logic from the repo, migrate to Polymarket CLOB v2, use Quarter-Kelly for position sizing, keep DRY_RUN=true by default, and add tests before going live Step 4. Create a trading wallet > Ask Hermes to create a wallet it will manage independently > Confirm you understand the risks > Deposit funds only after DRY_RUN testing is complete Step 5. Migrate to CLOB v2 > Send Hermes the executor update prompt to migrate from legacy py_clob_client to py_clob_client_v2 > This is critical - the old client doesn't support current Polymarket infrastructure Key settings: host=clob.polymarket.com, chain_id=POLYGON, use_server_time=True, retry_on_error=True Step 6. Configure your .env file > Hermes will set up all environment variables: PRIVATE_KEY, SAFE_ADDRESS, MIN_EDGE, MIN_BET, MAX_BET, BANKROLL, DRY_RUN Never expose private keys in chat or logs - Hermes has built-in safety skills for this Step 7. Run tests before going live > Ask Hermes to run pytest and verify: Kelly sizing, fee calculation, probability estimation, order sizing, executor initialization Green tests = ready to trade Start with $1–$2 trades. Let Hermes observe the results, build its own patterns, and adapt The self-learning loop does the heavy lifting - your job is to let it run Like/RT/Bookmark if this was helpful!











