ai-trading-agent  by Gajesh2007

AI trading agent for decentralized exchanges

Created 2 months ago
443 stars

Top 67.5% on SourcePulse

GitHubView on GitHub
Project Summary

Summary This project implements an AI-powered trading agent for the Hyperliquid decentralized exchange. It targets users seeking automated crypto trading, leveraging LLMs to analyze real-time market data from TAAPI and execute trades, enabling informed decisions and automated position management.

How It Works The agent operates in a continuous loop, monitoring crypto assets and fetching TAAPI technical indicators. An LLM, accessed via OpenRouter, uses tool-calling to interpret indicators and determine trading actions (buy/sell/hold). Decisions are executed on Hyperliquid with take-profit/stop-loss risk management. This approach allows LLM-driven dynamic adaptation to market conditions.

Quick Start & Requirements

  • Install: poetry run python src/main.py or via Docker.
  • Prerequisites: TAAPI_API_KEY, HYPERLIQUID_PRIVATE_KEY, OPENROUTER_API_KEY, LLM_MODEL (e.g., "x-ai/grok-4"). Requires .env setup.
  • Deployment (EigenCloud): Docker, allowlisted Ethereum account (Sepolia), Sepolia ETH, EigenX CLI.
  • Links: TAAPI.io, OpenRouter.ai, Hyperliquid, EigenCloud Onboarding, EigenX Documentation.

Highlighted Details

  • Features multiple live LLM agents (GPT-5 Pro, DeepSeek R1, Grok 4) with dashboards and logs.
  • Dynamically fetches any TAAPI indicator via LLM tool calls for flexible analysis.
  • Offers secure TEE deployment via EigenCloud.
  • Includes local API endpoints for diary entries and logs.

Maintenance & Community The README provides no details on community channels, contributors, or a roadmap.

Licensing & Compatibility The project's license is not specified, requiring clarification for commercial use or integration.

Limitations & Caveats Carries a strong disclaimer: "No guarantee of any returns. This code has not been audited. Please use at your own risk." It relies heavily on external APIs and requires careful private key management. Lack of audit and explicit license indicates potential risks.

Health Check
Last Commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
10 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.