AI-Powered investment research
ChatGPT for traders, backed by real-time financial data
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 AI tools like ChatGPT rely on outdated market data and web searches that aren't real-time. Try asking them "summarize today's options flow for AAPL" or "find stocks with inside day patterns today" - they simply can't deliver accurate, current results because they lack live financial data.
Rallies-cli is different. It's powered by real-time market data that updates continuously, enabling complex queries that other AI tools can't handle. This means you get accurate, current analysis instead of outdated information from web searches.
# Install from source
git clone https://github.com/your-username/rallies-cli.git
cd rallies-cli
pip install -e .
# Install from PyPI
pip install rallies- 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:
rallies
That's it! You're ready to start researching.
> What's happening with AAPL today?
> Analyze Tesla's recent performance
> Show me top gainers in tech sector
> Compare MSFT vs GOOGL over the last quarter
> Find stocks with cup and handle patterns
> What's the market sentiment on cryptocurrency?
> Show me NVDA's technical indicators
> Find oversold stocks in the S&P 500
> Analyze Bitcoin's recent price action
> Latest earnings reports this week
> Federal Reserve meeting impact on markets
> Breaking news affecting my portfolio
| Command | Description |
|---|---|
/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 |
export OPENAI_API_KEY="sk-your-openai-key"# Set via CLI
rallies
> /key your-rallies-api-keyThe 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 integrationrich- Terminal formatting and colorsrequests- HTTP requests for data APIsinquirer- Interactive promptstiktoken- Token counting and managementnumpy- Numerical computations
"OpenAI API Key not found"
export OPENAI_API_KEY="sk-your-key-here""Rate limit exceeded"
- Get a Rallies.ai API key for higher limits
- Use
/compactto reduce token usage
"Network connection error"
- Check internet connection
- Verify firewall settings
- Try again after a few moments
"Import errors"
pip install --upgrade rallies- 📧 Email: support@rallies.ai
- 💬 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
