Trendtrader banner
kahwaipd kahwaipd

Trendtrader

AI community

Description

A sophisticated ACP (Agent Communication Protocol) seller that provides AI-powered trading services on Hyperliquid. TrendTrader combines technical analysis with risk management to execute optimal trad

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

TrendTrader - Hyperliquid Trading Agent with Technical Analysis

A sophisticated ACP (Agent Communication Protocol) seller that provides AI-powered trading services on Hyperliquid. TrendTrader combines technical analysis with risk management to execute optimal trades.

Features

  • Technical Analysis Integration: RSI, MACD, EMA, SMA, Bollinger Bands, Stochastic Oscillator
  • Automated Position Management: Smart entry and exit based on TA signals
  • Risk Management: Configurable leverage, position sizing, and stop-loss mechanisms
  • Multi-timeframe Analysis: 1m to 1d chart analysis
  • Real-time Market Data: Live Hyperliquid price feeds and order book
  • ACP Integration: Seamless job execution through Virtuals Protocol ACP
  • Audit Trail: Complete trade logging and performance tracking

Quick Start

1. Setup Environment

# Clone repository
git clone 
cd trendtrader

# Install dependencies
npm install

# Configure environment
cp .env.example .env
# Edit .env with your keys:
# - HYPERLIQUID_PRIVATE_KEY
# - LITE_AGENT_API_KEY (from ACP setup)

2. Initialize

# Setup trading accounts
npm run setup

# Register ACP offerings
npm run offering:create

3. Start Services

# Development
npm run dev

# Production (PM2)
pm2 start \"npx tsx seller/runtime/seller.ts\" --name trendtrader

Architecture

Core Components

  • Trading Engine (src/hyperliquid/): Direct Hyperliquid API integration
  • Technical Analysis (src/indicators/): Multi-indicator signal generation
  • User Management (src/users/): Subaccount creation and management
  • Risk Management: Position sizing, leverage limits, drawdown protection
  • Audit System (src/audit/): Trade logging and performance metrics

ACP Integration

  • Seller Runtime (seller/runtime/seller.ts): WebSocket connection to ACP
  • Offerings (seller/offerings/): Available trading services
  • Job Execution: Async trade