Fincept Terminal
repository·main·Indexed 12 days ago
https://github.com/fincept-corporation/finceptterminalA high-performance native desktop financial intelligence platform featuring institutional-grade analytics, AI-driven research agents, and the AI Quant Lab. It integrates Microsoft Qlib and RDAgent for automated strategy development, hypothesis generation, and backtesting. The platform includes specialized wrappers for portfolio risk metrics via fortitudo.tech and time series forecasting via functime, as well as an agentic system for autonomous research and report writing.
What's inside Fincept Terminal
- The Analytics Modules library is a comprehensive financial analytics suite designed for equity valuation, portfolio management, derivatives pricing, economic analysis, and quantitative methods. It is built to follow CFA curriculum standards and professional best practices. The library is implemented in Python 3.11+ and relies on core scientific computing libraries like NumPy, Pandas, SciPy, and scikit-learn.
Overview of AI Quant Lab
mainAI Quant Lab is a quantitative research lab designed for automated strategy development. It integrates Microsoft's Qlib quantitative investment platform with RDAgent (Research & Development Agent) to automate hypothesis generation, backtesting, and strategy optimization.
Core Workflow
- Market Data: Input stock prices and fundamentals.
- Data Processing: Clean, normalize, and extract features.
- RDAgent: Generate trading hypotheses using AI.
- Feature Engineering: Create alpha factors.
- Model Training: Train machine learning models.
- Strategy: Generate trading signals.
- Backtest: Perform historical simulations.
- Portfolio Optimization: Determine optimal weights.
- Evaluation: Calculate performance metrics.
- Knowledge Base: Store results for future research.
Overview of Alpha Arena
mainAlpha Arena is a native C++ replay-faithful competition runtime integrated into the Fincept Terminal. It allows developers to pit multiple LLM agents against each other in a simulated or live crypto-perpetual universe. The system operates on a tick-by-tick basis with cryptographically auditable replay capabilities.
Key architectural characteristics:
- Engine: The core logic resides in a C++ engine. The Python component is a minimal (approx. 200-line) subprocess used solely for LLM calls.
- Determinism: Uses a
ContextBuilderto ensure deterministic, byte-equal prompts across agents. - Execution: Employs a
ModelDispatcherto fan out ticks to multiple Python subprocesses, and aRiskEngineto validate actions (accept/reject/amend). - Venues: Supports both
HyperliquidVenue(live trading via REST/WS and EIP-712 signing) andPaperVenue(a high-fidelity simulator).
Overview of the Python Scripts Library
mainThe Python Scripts Library provides the backend intelligence for Fincept Terminal, including data integrations, financial analytics, and AI agents.
Directory Structure
agents/: AI agents for trading and geopolitical analysis.agno_trading/: Agno trading system framework.ai_quant_lab/: Quantitative research lab (integrating Qlib and RDAgent).Analytics/: Financial analytics modules.*.py: Individual data source integrations (60+ providers).
Technical Requirements
- Python Version: 3.11+
- Execution: Uses an embedded Python runtime bundled with the application.
- Output Format: All scripts must return JSON responses.
- Concurrency: Scripts execute via
QProcesswith a maximum of 3 concurrent executions.
Overview of Open Source features
mainThe open-source version of Fincept Terminal is a native C++20 desktop terminal using Qt6 and an embedded Python 3.11 engine. It includes the following capabilities:
- Analysis: DCF, portfolio optimization, VaR/Sharpe ratio, derivatives pricing, fixed income, and an 18-module QuantLib suite.
- AI Agents: 37 agents covering trading, economics, and geopolitics. Requires your own API keys (OpenAI, Anthropic, Gemini, Groq, DeepSeek, OpenRouter, or Ollama).
- Data Connectors: 100+ connectors including FRED, IMF, World Bank, DBnomics, AkShare, Polygon, Kraken, Yahoo Finance, and various government APIs.
- Trading: Cryptocurrency and stock market data, a simulated trading engine, and access to 16 brokers.
- Automation: Visual node editor, MCP tools, and AI Quant Lab (Machine Learning, factor mining, reinforcement learning).
- Intelligence: Shipping tracking, geopolitical analysis, and relationship mapping.
Overview of Open Source build features
mainThe open-source build of Fincept Terminal is a native C++20 desktop application using Qt6 and embedded Python 3.11. It is distributed as a single binary without requiring Node.js or a browser runtime. Key capabilities include:
- Analytics: DCF, Portfolio optimization, VaR/Sharpe, Derivative valuation, Fixed Income, and a QuantLib suite with 18 modules.
- AI Agents: 37 specialized agents (Trader/Investor, Economics, Geopolitics) using your own LLM keys.
- Data Connectors: Over 100 connectors including FRED, IMF, World Bank, DBnomics, AkShare, Polygon, Kraken, Yahoo Finance, and various government APIs.
- Trading: Crypto and equity feeds, a paper trading engine, and 16 broker connections.
- Automation: Visual node editor, MCP tools, and an AI Quant Lab (ML, factor research, RL).
- Intelligence: Maritime tracking, geopolitical analysis, and relationship mapping.
Overview of Fincept Terminal
mainFincept Terminal is a native C++20 desktop financial intelligence platform designed for research, analytics, and automation. It features a Qt6 UI and embedded Python 3.11 for analytics, operating as a single binary without the overhead of Electron or Node.js.
There are two primary editions:
- Open Source Edition (AGPL-3.0): This repository. It is intended for students, hobbyists, and academic research. It is free to use but requires users to provide their own data API keys and LLM keys. It ships one release per month.
- Enterprise Edition (Proprietary): A closed-source build for professional funds and research desks. It includes private datasets, live broker routing, SSO, and managed AI credits. It is available via subscription starting at $99/user/month.
Overview of Open Source edition features
mainThe Open Source edition of Fincept Terminal provides a comprehensive suite of financial tools built on C++20, Qt6, and embedded Python 3.11. Key capabilities include:
- Analysis: DCF, portfolio optimization, VaR/Sharpe, derivative valuation, and a QuantLib suite with 18 modules.
- AI: 37 specialized trader/investor agents. Requires your own LLM keys (e.g., OpenAI, Anthropic, Gemini, Groq, DeepSeek, OpenRouter, or Ollama).
- Data: Over 100 connectors including FRED, IMF, World Bank, DBnomics, AkShare, Polygon, Kraken, and Yahoo Finance.
- Trading: Crypto and equity feeds, a paper trading engine, and 16 broker integrations.
- Automation: Visual node editor, MCP tools, and an AI Quant Lab (ML, factor discovery, RL).
- Intelligence: Maritime tracking, geopolitical analysis, and relationship mapping.
Overview of Agentic System Research in FinceptTerminal
mainFinceptTerminal is transitioning from a tool-using chatbot to a true agentic system capable of long-running autonomous tasks (e.g., autonomous research and report writing). The research focuses on implementing durable execution, adaptive re-planning, and reflection/self-correction mechanisms.
Existing Agentic Primitives
The system already contains several core components that implement the 'Plan-and-Solve' pattern with SQLite checkpointing:
ResumableTaskRunnerTaskStateManager(located inscripts/agents/finagent_core/task_state.py)- Python
main.pyactions:start_task,resume_task,get_task, andlist_tasks. - RD-Agent integration for autonomous quant R&D.
Overview of Open Build features
mainThe Open Build of Fincept Terminal is a native C++20/Qt6 desktop application (single binary, no Electron/Node.js) that includes:
- Analytics: DCF, portfolio optimization, VaR/Sharpe, derivatives pricing, bonds, alternative investments, and a QuantLib suite across 18 modules.
- AI Agents: 37 agents covering trading/investing, economics, and geopolitics. Requires your own API keys (OpenAI, Anthropic, Gemini, Groq, DeepSeek, OpenRouter, or Ollama).
- Data Connectors: 100+ connectors including FRED, IMF, World Bank, DBnomics, AkShare, Polygon, Kraken, Yahoo Finance, and various government APIs.
- Trading: Crypto/stock feeds, paper trading engine, and 16 broker integrations.
- Automation: Visual node editor, MCP tools, and AI Quant Lab (ML, factor discovery, reinforcement learning).
- Global Intelligence: Maritime logistics tracking, geopolitical analysis, and relationship mapping.
Features in the Open Source Build
mainThe free AGPL-3.0 edition includes the following capabilities:
- Analytics: DCF, portfolio optimisation, VaR/Sharpe, derivatives pricing, fixed income, alternatives, and an 18-module QuantLib suite.
- AI: 37 specialized agents (trader/investor, economic, and geopolitics). Users must provide their own LLM keys (supports OpenAI, Anthropic, Gemini, Groq, DeepSeek, OpenRouter, and Ollama).
- Data: 100+ connectors including FRED, IMF, World Bank, DBnomics, AkShare, Polygon, Kraken, Yahoo Finance, and various government APIs.
- Trading: Crypto and equity feeds, a paper-trading engine, and 16 broker integrations.
- Automation: A visual node editor, MCP tools, and an AI Quant Lab (ML, factor discovery, RL).
- Global Intelligence: Maritime tracking, geopolitical analysis, and relationship mapping.
Features included in the Open Edition
mainThe Open Edition provides a robust suite of tools for financial research:
- Analytics: DCF, portfolio optimization, VaR/Sharpe, derivative valuation, fixed income, and an 18-module QuantLib suite.
- AI: 37 trader/investor, economics, and geopolitics agents. Supports your own keys for OpenAI, Anthropic, Gemini, Groq, DeepSeek, OpenRouter, and Ollama.
- Data: Over 100 connectors including FRED, IMF, World Bank, DBnomics, AkShare, Polygon, Kraken, Yahoo Finance, and various government APIs.
- Trading: Crypto and equity feeds, a paper trading engine, and 16 broker integrations.
- Automation: Visual node editor, MCP tools, and AI Quant Lab (ML, factor discovery, RL).
- Global Intelligence: Maritime tracking, geopolitical analysis, and relationship mapping.