This project explores the potential of artificial financial intelligence - a focused implementation of AI for trading and investing research.
⭐️ first full concise documentation video (watch here)
📀 follow all updates here on youtube: https://www.youtube.com/playlist?list=PLXrNVMjRZUJg4M4uz52iGd1LhXXGVbIFz
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. in 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
all the video updates are consolidated in the below playlist on youtube 📀 https://www.youtube.com/playlist?list=PLXrNVMjRZUJg4M4uz52iGd1LhXXGVbIFz
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
- 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 - Copy Agent (
copy_agent.py
): monitors copy bot for potential trades - Whale Agent (
whale_agent.py
): monitors whale activity and announces when a whale enters the market - Sentiment Agent (
sentiment_agent.py
): analyzes Twitter sentiment for crypto tokens with voice announcements - Focus Agent (
focus_agent.py
): randomly samples audio during coding sessions to maintain productivity, providing focus scores and voice alerts when focus drops (~$10/month, perfect for voice-to-code workflows)
- Basic project structure
- Environment setup
- Token data collection
- Basic trading functions
- Market data API integration (OI, Liquidations, Funding)
- Risk management agent with PnL limits
- Risk agent minimum balance protection (1/8/25)
- CopyBot portfolio analyzer (1/8/25)
- Portfolio optimization
- Advanced risk management
- Machine learning integration
- Sentiment analysis with voice announcements
- Backtesting framework
- Performance analytics
- 1/10 - built a coin gecko agent conversation between 2 ai agents and all of coin geckos data
- 1/10 - added a focus agent that will take random samples of my voice to ensure im always locked in. my kpi is 200 ai uses per day which is hard when i yap so this is the solution.
- 1/9 - Added Sentiment Analysis Agent with voice announcements and historical tracking - Monitors Twitter sentiment for major tokens - Tracks sentiment changes over time - Announces significant sentiment shifts - updated the whale agent as well to work better
- 1/8 - Added minimum balance protection to Risk Agent with configurable AI consultation - Completed CopyBot portfolio analyzer with position sizing - V0 of the whale agent launched
- 1/7 - CopyBot Agent: Added AI agent to analyze copybot portfolio and decide on whether it should take a position on their account
- 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 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.