This project explores the potential of artificial financial intelligence - a focused implementation of AI for trading and investing research.
We're researching AI agents for trading that will eventually leverage AFI. With 4 years of experience training humans through our bootcamp, we're exploring where AI agents might complement human trading operations, and later replace trading human operations. This is experimental research, not a profitable trading solution.
AI agents will be able to build a better quant portfolio than humans. i've spent the last 4 years building quant systems & training others to do so. 2025 is about replicating that success but with ai agents doing it instead of me. on jan 1, 2026 i will release a paper of my findings after a full year of testing ai agents in quant vs the last 4 years of humans.
AI agents might help address common trading challenges:
- Emotional reactions
- Ego-driven decisions
- Inconsistent execution
- Fatigue effects
- Impatience
- Fear & Greed cycles
While we use the RBI framework for strategy research, we're exploring AI agents as potential tools. We're in early stages with LLM technology, investigating possibilities in the trading space.
There is no token associated with this project and there never will be. any token launched is not affiliated with this project, moon dev will never dm you. be careful. don't send funds anywhere
i will place video updates here as often as possible. i'll also be working on making shorter written and video documentation as features get solidified.
- [1/1/25] day 1: building The AI Agent Infastructure
- [1/2/25] building out first trading agent, the risk agent
- [1/3/25] building a trading agent that makes decisions based on data
Exploring AI agents that could assist with risk management. This is purely experimental research into risk oversight possibilities.
Researching potential exit timing assistance. This overlaps with risk management research but focuses on position management concepts.
Investigating entry-focused concepts after risk management research.
Exploring ways to gather market sentiment from Twitter, Discord, and Telegram for research purposes.
Researching concepts like:
- Multi-agent consensus
- Strategy validation
- Dynamic trade filtering
There is no token associated with this project and there never will be. any token launched is not affiliated with this project, moon dev will never dm you. be careful. don't send funds anywhere
PLEASE READ CAREFULLY:
-
This is an experimental research project, NOT a trading system
-
There are NO plug-and-play solutions for guaranteed profits
-
We do NOT provide trading strategies
-
Success depends entirely on YOUR:
- Trading strategy
- Risk management
- Market research
- Testing and validation
- Overall trading approach
-
NO AI agent can guarantee profitable trading
-
You MUST develop and validate your own trading approach
-
Trading involves substantial risk of loss
-
Past performance does not indicate future results
Project updates will be posted in discord, join here: moondev.com
The content presented is for educational and informational purposes only and does not constitute financial advice. All trading involves risk and may not be suitable for all investors. You should carefully consider your investment objectives, level of experience, and risk appetite before investing.
Past performance is not indicative of future results. There is no guarantee that any trading strategy or algorithm discussed will result in profits or will not incur losses.
CFTC Disclaimer: Commodity Futures Trading Commission (CFTC) regulations require disclosure of the risks associated with trading commodities and derivatives. There is a substantial risk of loss in trading and investing.
I am not a licensed financial advisor or a registered broker-dealer. Content & code is based on personal research perspectives and should not be relied upon as a guarantee of success in trading.
- Free Algo Trading Roadmap: moondev.com
- Algo Trading Education: algotradecamp.com
- Business Contact [email protected]
- Trading Agent (
trading_agent.py
): Example agent that analyzes token data via LLM to make basic trade decisions - Strategy Agent (
strategy_agent.py
): Manages and executes trading strategies placed in the strategies folder - Risk Agent (
risk_agent.py
): Monitors and manages portfolio risk, enforcing position limits and PnL thresholds
- Project structure setup
- Environment variable configuration
- API key management
- Basic OHLCV data collection
- Multi-token monitoring setup
- Temporary data storage system
- Token display improvements
- Market Data API Integration (OI, Liquidations, Funding)
- ezbot.py that allows hand traders bot functions
- Market buy/sell functionality
- Position management
- Slippage control
- Transaction retry logic
- Risk management system
- Portfolio-wide analysis
- Advanced order types
- Basic AI model setup
- Trading Agent Example
- Risk assessment agent
- Entry/exit strategy agent - build a buying agent to optimize slippage etc and easy to implement into any agents
- Sentiment analysis agent - use twikit package
- Multi-agent coordination
- Portfolio optimization agent
- Social sentiment integration
- Hyperliquid Perp Trading
- Hyperliquid Spot Trading
- Performance optimization
- Multi-chain support
- Emergency protocols
- 1/6 - Market Data API: Added comprehensive API for liquidations, funding rates, open interest, and copybot data
- 1/5 - created a documentation training video with a full walkthrough of this github (releasing jan 7th)
- 1/4 - strategy_agent.py: an ai agent that has last say on any strategy placed in strategies folder
- 1/3 - risk_agent.py: built out an ai agent to manage risk
- 1/2 - trading_agent.py: built the first trading agent
- 1/1 - first lines of code written
-
⭐ Star the Repo
- Click the star button to save it to your GitHub favorites
-
🍴 Fork the Repo
- Fork to your GitHub account to get your own copy
- This lets you make changes and track updates
-
💻 Open in Your IDE
- Clone to your local machine
- Recommended: Use Cursor or Windsurfer for AI-enabled coding
-
🔑 Set Environment Variables
- Check
.env.example
for required variables - Create a copy of above and name it
.env
file with your keys:- Anthropic API key
- Other trading API keys
⚠️ Never commit or share your API keys!
- Check
-
🤖 Customize Agent Prompts
- Navigate to
/agents
folder - Modify LLM prompts to fit your needs
- Each agent has configurable parameters
- Navigate to
-
📈 Implement Your Strategies
- Add your strategies to
/strategies
folder - Remember: Out-of-box code is NOT profitable
- Thorough testing required before live trading
- Add your strategies to
-
🏃♂️ Run the System
- Execute via
main.py
- Toggle agents on/off as needed
- Monitor logs for performance
- Execute via
Built with love by Moon Dev - Pioneering the future of AI-powered trading
The Moon Dev Market Data API provides real-time access to:
- 📊 Liquidation Data
- 💰 Funding Rates
- 📈 Open Interest (Symbol & Total Market)
- 🆕 New Token Launches
- 🤖 CopyBot Data & Follow Lists
- 📝 Recent Market Transactions
Check out API Documentation for detailed usage instructions.