Market Discovery
Automated fetching of 'Up/Down' 5-minute binary markets via Gamma API with UTC window synchronization.
Order Book Integrity
Deep CLOB order book monitoring for YES and NO contracts with real-time liquidity analysis.
Arbitrage Execution
Atomic simultaneous execution of YES and NO positions when aggregate costs drop below parity thresholds.
Risk Containment
Dynamic USDC exposure caps and imbalance thresholds with configurable slippage controls.
Position Optimization
Periodical position merging logic to redeem fully matched contracts and reclaim USDC liquidity.
Rust Core Engine
High-concurrency Rust implementation for sub-500ms market polling and execution latency.
SYSTEM_WORKFLOW_PROTOCOL
Sequence Logic of the Arbitrage Kernel
SCAN_KERNEL
Gamma Market Discovery
ANALYSIS_UNIT
Probability Spread Detection
EXECUTION_GATE
Simultaneous Atomic Trades
LIQUIDITY_HUB
Merge & Redeem Cycle
HOW_TO_INSTALL_SYSTEM
Sequence Logic for Initializing the Arbitrage Core
OPTION_A: PRE-COMPILED
Quick Start Protocol
OPTION_B: SELF-COMPILED
Build from Source
git clone https://github.com/myhostearth/Polymarket-BTC-Arbitrage-Bot.git cd Polymarket-BTC-Arbitrage-Bot cargo build --release && cargo run --release
CONFIGURE_ENVIRONMENT
Identity Handshake
POLYMARKET_PRIVATE_KEY=your_64_char_hex_private_key_here
RUN_IN_BACKGROUND
Daemon Persistence
nohup ./target/release/poly_15min_bot > bot.log 2>&1 &
CONFIGURATION_OPTIONS
Logic Parameters
# Required POLYMARKET_PRIVATE_KEY=your_key # Optional POLYMARKET_PROXY_ADDRESS=0x... MIN_PROFIT_THRESHOLD=0.001 MAX_ORDER_SIZE_USDC=100.0 SLIPPAGE=0,0.01
PROTOCOL_REQUISITES
- CompilerRust 1.70 or higher
- Identity64-char hex Private Key
- Core Filelicense.key file
- NetworkRegional Compliance