autohedge - TGSC
Project description
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.
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.
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
Supported Venues
| Venue | Status | Notes |
|---|---|---|
| Solana | Supported | Full autonomous trading |
| Coinbase | Coming soon | In development |
| Other CEX | Roadmap | Planned expansion |
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
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]
Contributing
Contributions are welcome. See Contributing Guidelines for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autohedge-0.1.2.tar.gz.
File metadata
- Download URL: autohedge-0.1.2.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe222b5756c570b8ce7d7d0963db3359f80e4209a6c8f98dc902f5f81ff9a6de
|
|
| MD5 |
6c92a6c4093eefa14df0041df3143316
|
|
| BLAKE2b-256 |
1e1334b336042c5ed4015a9a3a227a76b7db9b873b975cbef5c0e1347a3e23dd
|
File details
Details for the file autohedge-0.1.2-py3-none-any.whl.
File metadata
- Download URL: autohedge-0.1.2-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f859076d6e138867491d146a4c9a4bfaaa27cdbd34a3750982696e74438b86b
|
|
| MD5 |
db9b05e0332bc5cc955b37c34816a645
|
|
| BLAKE2b-256 |
48eb110471edc8794d98e35f882e728467d18c2cf3f94cc293d7ef6d78690078
|