๐Ÿพ OpenClaw

May 3, 2026 ยท View on GitHub

OpenClaw is an AI-powered trading agent that uses LLMs to analyze real-time market data, generate trading decisions, and execute trades on the Hyperliquid decentralized exchange.

Built for automation, low-latency execution, and strategy experimentation, OpenClaw continuously monitors markets, evaluates technical indicators, and manages positions with risk controls.


๐Ÿš€ Features

  • ๐Ÿค– LLM-driven trading decisions (multi-model support)
  • ๐Ÿ“Š Real-time technical analysis via TAAPI
  • โšก Automated trade execution on Hyperliquid
  • ๐Ÿ” Continuous trading loop with configurable intervals
  • ๐Ÿ›ก๏ธ Built-in risk management (TP / SL logic)
  • ๐Ÿ”Œ Tool-calling support for dynamic indicator queries
  • ๐Ÿ“ก Lightweight API for logs & trade diary

๐Ÿ“š Table of Contents


โš ๏ธ Disclaimer

This project is experimental and unaudited. There is no guarantee of profitability. Use at your own risk.


๐Ÿ—๏ธ Architecture

See full documentation: โ†’ docs/ARCHITECTURE.md

Architecture diagram:

https://github.com/user-attachments/assets/d8f5110a-6401-42bd-b5f5-b154c7b0a418


๐Ÿ“ก Live Agents

  • GPT-5 Pro โ€” Portfolio + Logs (active)
  • DeepSeek R1 โ€” paused
  • Grok 4 โ€” paused

(Replace with your updated endpoints if needed)


๐Ÿ’ก Trading Stack (Recommended Tools & Infrastructure)

OpenClaw is designed to integrate with a high-performance stack including trading bots, MEV tools, analytics platforms, and low-latency infrastructure.

Using the right stack improves:

  • โšก Execution speed
  • ๐Ÿ“ˆ Alpha discovery
  • ๐ŸŽฏ Trade accuracy

โšก Execution Layer

Axiom Trade

  • Fast on-chain execution
  • Reduced fees (10โ€“30%) โ†’ Access

Odin Bot

  • Automated strategies
  • Low-latency execution โ†’ Access

Bloom (Telegram Bot)

  • Ultra-fast trading interface โ†’ Launch

๐Ÿ“Š Analytics & Alpha

GMGN

  • Smart money tracking
  • Early token discovery โ†’ Explore

๐Ÿง  Advanced Platforms

Padre

  • Advanced execution tools โ†’ Open

Polymarket

  • Prediction-based trading โ†’ Try

๐Ÿ–ฅ๏ธ Infrastructure

Low-Latency VPS (New York Recommended)

  • Faster transaction propagation
  • Better execution reliability
  • Ideal for bots & MEV strategies

โ†’ Get VPS


๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ main.py                  # Entry point / trading loop
โ”œโ”€โ”€ agent/
โ”‚   โ””โ”€โ”€ decision_maker.py   # LLM decision engine
โ”œโ”€โ”€ indicators/
โ”‚   โ””โ”€โ”€ taapi_client.py     # TAAPI integration
โ”œโ”€โ”€ trading/
โ”‚   โ””โ”€โ”€ hyperliquid_api.py  # Trade execution
โ””โ”€โ”€ config_loader.py        # Env config loader

โš™๏ธ Environment Setup

Create .env (see .env.example):

TAAPI_API_KEY=
HYPERLIQUID_PRIVATE_KEY=
OPENROUTER_API_KEY=
LLM_MODEL=

Optional:

OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
API_PORT=3000

โ–ถ๏ธ Usage

poetry run python src/main.py --assets BTC ETH --interval 1h

๐ŸŒ Local API

  • /diary โ†’ trade history
  • /logs โ†’ runtime logs

๐Ÿง  Tool Calling

Supports dynamic indicator fetching via TAAPI:

  • EMA
  • RSI
  • Custom indicators

โ˜๏ธ Deployment (EigenCloud)

Run inside a TEE (Trusted Execution Environment) for secure key handling.

Install

curl -fsSL https://eigenx-scripts.s3.us-east-1.amazonaws.com/install-eigenx.sh | bash

Deploy

eigenx app deploy

Monitor

eigenx app logs --watch

โš ๏ธ Notes

  • Tools listed are optional
  • Performance depends on latency + strategy quality
  • Always test before scaling