Rallies CLI is an intelligent investment research agent built by Rallies that combines the conversational power of AI with real-time financial data. Think of it as ChatGPT specifically designed for traders and investors, equipped with live market data, news feeds, and comprehensive financial analysis capabilities.
Most existing LLMs, even with web search and other capabilities rely on out-dated stock market data. Moreover, since they are not backed by real-time data, running complex queries is hard, and often returns inaccurate results e.g try asking an LLM "can you summarize today's options flow data for AAPL", and you'll realize that a lot of the answers simply rely on web searches which are never real-time.
On the contrary, rallies-cli relies on real-time data that is updated as frequently as possible.
- Get your OpenAI API key from OpenAI Platform
- Set environment variable:
export OPENAI_API_KEY="sk-your-api-key-here"
- Launch rallies from your terminal:
That's it! You're ready to start researching.
| /help | Show available commands and usage |
| /key API_KEY | Set your rallies.ai API key for more usage |
| /feed | Browse recent high-scoring community questions |
| /clear | Clear conversation history |
| /compact | Compress conversation while preserving context |
| /exit or /quit | Exit the application |
The Rallies.ai API key provides you higher rate limits. You can get your key by registering for a free account at Rallies
- Python 3.8+
- OpenAI API Key (required)
- Terminal with color support (recommended)
- Internet connection for real-time data
- openai - GPT-4 integration
- rich - Terminal formatting and colors
- requests - HTTP requests for data APIs
- inquirer - Interactive prompts
- tiktoken - Token counting and management
- numpy - Numerical computations
"OpenAI API Key not found"
"Rate limit exceeded"
- Get a Rallies.ai API key for higher limits
- Use /compact to reduce token usage
"Network connection error"
- Check internet connection
- Verify firewall settings
- Try again after a few moments
"Import errors"
- 📧 Email: [email protected]
- 💬 Discord: Rallies.ai Discord
- Website: rallies.ai
- Mobile app: Rallies
- Twitter: @RalliesAI
- LinkedIn: Rallies AI
This tool is for educational and research purposes only. Rallies CLI does not provide investment advice, recommendations, or financial guidance. All information provided is for informational purposes only and should not be considered as investment advice. Always consult with a qualified financial advisor before making any investment decisions. Past performance does not guarantee future results. Trading and investing involve risk of loss.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Built with ❤️ by the Rallies team - Making financial research accessible to everyone
.png)

![I made Minecraft in Minecraft with redstone (2022) [video]](https://www.youtube.com/img/desktop/supported_browsers/chrome.png)

