The-Swarm-Corporation / AutoHedge

The-Swarm-Corporation / AutoHedge

AutoHedge AutoHedge is an enterprise-grade autonomous agent hedge fund that trades on your behalf. It combines swarm intelligence and specialized AI agents to perform end-to-end market analysis, risk management, and execution with minimal human intervention. Current support: Full autonomous trading on Solana. Coming soon: Coinbase and additional exchanges.

AutoHedge AutoHedge 是一款企业级的自主智能体对冲基金,能够代表您进行交易。它结合了群体智能(Swarm Intelligence)和专业化 AI 智能体,以极少的人工干预实现端到端的市场分析、风险管理和交易执行。目前支持:Solana 上的全自动交易。即将推出:Coinbase 及其他交易所。

Overview AutoHedge is built to be the world’s most powerful autonomous agent hedge fund. It runs continuous analysis, generates and validates trading theses, sizes risk, and executes orders across supported venues. The system is designed for institutional reliability: structured outputs, comprehensive logging, and a risk-first architecture that scales from single strategies to multi-venue, multi-asset deployment.

概述 AutoHedge 旨在成为全球最强大的自主智能体对冲基金。它运行持续分析,生成并验证交易策略,评估风险规模,并在支持的交易场所执行订单。该系统专为机构级可靠性而设计:具备结构化输出、全面的日志记录以及从单一策略扩展到多场所、多资产部署的“风险优先”架构。

Features

  • Multi-Agent Architecture: Specialized agents for each stage of the trading pipeline
    • Director Agent: strategy and thesis generation
    • Quant Agent: technical and statistical analysis
    • Risk Management Agent: position sizing and risk assessment
    • Execution Agent: order generation and execution
  • Real-Time Market Analysis: Integration with live market data for analysis and execution
  • Risk-First Design: Built-in risk management and position sizing before any execution
  • Structured Output: JSON-formatted recommendations and analysis for downstream systems
  • Enterprise Logging: Detailed, configurable logging for audit and debugging
  • Extensible Framework: Modular design for custom strategies and new venues

功能特性

  • 多智能体架构: 交易流水线每个阶段均配备专业智能体
    • 主管智能体 (Director Agent): 负责策略与论点生成
    • 量化智能体 (Quant Agent): 负责技术与统计分析
    • 风险管理智能体 (Risk Management Agent): 负责仓位规模与风险评估
    • 执行智能体 (Execution Agent): 负责订单生成与执行
  • 实时市场分析: 集成实时市场数据以进行分析和执行
  • 风险优先设计: 在任何执行操作前内置风险管理和仓位评估
  • 结构化输出: 为下游系统提供 JSON 格式的建议和分析
  • 企业级日志: 提供详细、可配置的日志,便于审计和调试
  • 可扩展框架: 模块化设计,支持自定义策略和接入新交易场所

Supported Venues

VenueStatusNotes
SolanaSupportedFull autonomous trading
CoinbaseComing soonIn development
Other CEXRoadmapPlanned expansion

支持的交易场所

场所状态备注
Solana已支持全自动交易
Coinbase即将推出开发中
其他 CEX路线图计划扩展

Quick Start Installation: pip install -U autohedge Environment Variables:

# Jupiter API (token price & search tools)
# Get a key at https://portal.jup.ag
JUPITER_API_KEY=
# OpenAI (experimental agents)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
WORKSPACE_DIR="agent_workspace"
# Trading
WALLET_PRIVATE_KEY=""

See .env.example for a full reference. Basic Usage: autohedge

快速开始 安装:pip install -U autohedge 环境变量:

# Jupiter API (代币价格与搜索工具)
# 在 https://portal.jup.ag 获取密钥
JUPITER_API_KEY=
# OpenAI (实验性智能体)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
WORKSPACE_DIR="agent_workspace"
# 交易
WALLET_PRIVATE_KEY=""

完整参考请查看 .env.example。基本用法:autohedge

Architecture AutoHedge uses a multi-agent pipeline where each agent has a defined responsibility: graph TD A[Director Agent] --> B[Quant Agent] B --> C[Risk Manager] C --> D[Execution Agent] D --> E[Trade Output]

架构 AutoHedge 使用多智能体流水线,每个智能体都有明确的职责: graph TD A[主管智能体] --> B[量化智能体] B --> C[风险管理] C --> D[执行智能体] D --> E[交易输出]

Contributing Contributions are welcome. See Contributing Guidelines for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

贡献指南 欢迎提交贡献。详情请参阅贡献指南。

  1. Fork 本仓库
  2. 创建功能分支 (git checkout -b feature/AmazingFeature)
  3. 提交更改 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 发起 Pull Request

License & Acknowledgments MIT License. See LICENSE for details. Acknowledgments: Swarms for the AI agent framework. Support: Issue Tracker (GitHub Issues), Community (Discord). AutoHedge by The Swarm Corporation.

许可证与致谢 MIT 许可证。详情请参阅 LICENSE 文件。 致谢:感谢 Swarms 提供的 AI 智能体框架。 支持:问题追踪 (GitHub Issues),社区 (Discord)。 AutoHedge 由 The Swarm Corporation 开发。