Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Y-Research-SBU/QuantAgent/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
Before you begin, make sure you have conda installed. The following Python packages are installed viarequirements.txt:
| Package | Purpose |
|---|---|
flask | Web interface server |
yfinance | Real-time market data from Yahoo Finance |
pandas, numpy | Data processing |
matplotlib, mplfinance | Chart rendering |
scipy | Signal processing utilities |
TA-Lib | Technical indicator computation |
langchain, langchain-core | LLM abstraction layer |
langchain-openai | OpenAI provider integration |
langchain-anthropic | Anthropic provider integration |
langchain-qwq | Qwen provider integration |
langgraph | Multi-agent graph orchestration |
openai, anthropic | Provider SDK clients |
Pillow | Image processing for chart analysis |
requests, ipython | HTTP utilities and notebook support |
Installation steps
Handle TA-Lib installation issues (if needed)
TA-Lib requires a C library that pip sometimes cannot build automatically. If the pip install fails, use the conda-forge package instead:
If you still encounter issues, visit the TA-Lib Python repository for platform-specific installation instructions covering Windows, macOS, and Linux.
Set your LLM API key
Configure the API key for your chosen provider. See the API key setup section below for all three providers.
API key setup
QuantAgent supports OpenAI, Anthropic, and Qwen. Set the environment variable for your chosen provider, or enter it later through the web interface settings panel.- OpenAI
- Anthropic
- Qwen (DashScope)
Get your API key from platform.openai.com/api-keys.Default models when using OpenAI:
- Agent LLM:
gpt-4o-mini - Graph LLM:
gpt-4o
default_config.py:Verify your installation
Start the web interface to confirm everything is working:http://127.0.0.1:5000 in your browser. If the page loads and the settings panel shows your API key as set, your installation is complete.
Troubleshooting
TA-Lib build failure on pip install Useconda install -c conda-forge ta-lib as described above, or follow the platform-specific instructions in the official repository.
API key not recognized
Verify the environment variable is exported in the same shell session where you run python web_interface.py. Alternatively, enter the key directly in the web interface settings panel and click Save.
Data not available for a symbol
QuantAgent uses Yahoo Finance via yfinance. Some symbols may have limited historical data or may not be available. Try a different date range or a standard symbol such as BTC, SPX, or AAPL.
Rate limit or billing errors
Check that your API account has sufficient credits and that you are not exceeding the provider’s rate limits. Wait a moment and retry the analysis.