Skip to content
TakoAPI
Back to skills

okx-competition

by peti0402

Search & Research
—Not yet rated
Your rating

Brief

5 AI trading agents compete live on OKX Demo (real prices)

Description

What This Skill Does

Runs 5 AI trading agents in parallel on OKX Demo (real-time prices, no real money). Each agent uses a different strategy (Supply & Demand, RSI variants). Daily at 07:00, the bottom performers get replaced by better strategies from a backtest pool. Every order has an exchange-level stop-loss that survives bot crashes.

When to Use It

  • Paper trading multiple strategies simultaneously on OKX
  • Comparing RSI mean reversion vs. supply/demand strategies head-to-head
  • Running daily evolutionary selection to replace losing agents
  • Backtesting strategy/asset combinations overnight for the evolution pool
  • Monitoring a live leaderboard of competing agents

Example Workflow

INPUT

User asks: "Start the trading competition on OKX Demo"

AGENT
  1. 1

    Loads 5 agent configs from agents_config.json

  2. 2

    Starts the 5-minute competition loop with OKX Demo API

  3. 3

    Each agent analyzes candles, calculates indicators, and places orders with exchange-level SL

  4. 4

    Writes results to leaderboard_okx.json after each cycle

OUTPUT

Competition running with 5 agents trading on OKX Demo, leaderboard updating every 5 minutes

Requirements

  • OKX account (Demo or Live) with API key, secret, and passphrase

Installation

clawhub install peti0402/okx-competition

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links