Quant-Wiki

repository·master·Indexed 26 days ago

https://github.com/llmquant/quant-wiki

An open-source Chinese knowledge base for quantitative finance covering mathematical models, statistical analysis, and algorithmic trading strategies. The documentation includes research on machine learning, high-frequency trading, multi-factor models, and the application of LLMs and RAG in finance, including specialized tools like BAM Embeddings and information positioning scoring for annual report analysis.

Tokens
168.2K
Snippets
62
Records
857
Agent score
87%

What's inside Quant-Wiki

  1. Overview of ChatGPT in Quantitative Trading

    master

    ChatGPT (Chat Generative Pre-trained Transformer) can be used in quantitative trading to design and implement intelligent trading strategies. It leverages Natural Language Processing (NLP) to analyze market sentiment and news articles, helping traders make informed decisions by identifying patterns and predicting market trends.

    Key use cases include:

    • Analyzing market trends and historical data.
    • Automating trading strategies.
    • Performing sentiment analysis on financial news.
    • Generating trading ideas based on current market conditions.
  2. Overview of Quadrature Capital

    master
    Quadrature Capital is a secretive, technology-driven proprietary trading firm. It utilizes statistical models to perform market-neutral trading using its own capital. While its official website describes it as a "tech company," regulatory filings indicate it provides investment management services. The firm is characterized by its small, highly efficient team, high compensation levels, and significant philanthropic contributions to the Quadrature Climate Foundation to combat climate change.
  3. Overview of InvestorBench Benchmark

    master

    InvestorBench is an open-source benchmark designed for evaluating Large Language Model (LLM) agents in multi-task financial decision-making scenarios. It provides a unified platform to compare models across different asset classes and modalities.

    Key features include:

    • Multi-task coverage: Supports Stock trading, Cryptocurrency trading, and ETF investment.
    • Multi-modal data: Integrates market prices (OHLCV), news, company filings (SEC EDGAR), and sentiment analysis.
    • Advanced Memory Structure: Uses a layered long-term memory mechanism with multi-rate decay (inspired by FinMem) to balance short-term trading signals with long-term information.
    • Extensibility: The framework allows for easy replacement of the LLM 'Brain' to test different models (e.g., general-purpose LLMs vs. finance-tuned LLMs).
  4. Overview of the Great Depression

    master

    The Great Depression was a devastating, long-term economic recession following the 1929 US stock market crash, lasting until 1941. It was characterized by several economic contractions, including the 1929 crash, bank panics in 1930 and 1931, and the Smoot-Hawley Tariff Act which destroyed world trade.

    Key Factors contributing to the recession:

    • 1929 Stock Market Crash
    • The Gold Standard
    • Declines in lending and tariffs
    • Bank panics
    • Contractionary monetary policy by the Federal Reserve
  5. Overview of TradingAgents Multi-Agent LLM Framework

    master

    TradingAgents is a multi-agent LLM financial trading framework designed to simulate a real-world trading firm. It utilizes specialized LLM agents with distinct roles that collaborate through multi-round dialogues and structured reports to achieve automated stock trading.

    Key features include:

    • Role Specialization: Agents are divided into specific teams (Analyst, Research, Trader, and Risk Management) to handle different dimensions of market analysis and execution.
    • Collaborative Decision Making: Agents engage in debate and coordination to improve decision quality.
    • High Interpretability: Unlike 'black-box' deep learning models, TradingAgents provides decision reasoning in natural language, making the process transparent and auditable.
    • Risk Control: A dedicated Risk Management team regulates strategies to balance high returns with controlled maximum drawdown.
  6. Overview of TradeMaster Reinforcement Learning Platform

    master

    TradeMaster is an open-source platform for quantitative trading (QT) that integrates Reinforcement Learning (RL) throughout the entire trading workflow. It provides a one-stop solution covering data preparation, algorithm implementation, evaluation, and deployment. The platform is divided into six core modules:

    1. Multimodal Market Data: Supports various financial assets and frequencies.
    2. Data Preprocessing Pipeline: Automated cleaning and feature generation.
    3. High-Fidelity Market Simulator: Includes multiple mainstream quantitative trading scenarios.
    4. 13+ RL Algorithm Implementations: Optimized for trading strategy efficiency.
    5. Systematic Evaluation Tools: Provides 6 dimensions and 17 metrics to assess strategy performance.
    6. Diverse Interfaces: Designed for both research and engineering needs.
  7. Overview of the LLM-driven Quantitative Investment Framework

    master

    This framework utilizes Large Language Models (LLMs) and a multi-agent system to discover, evaluate, and optimize Alpha factors for stock investment strategies. It processes multimodal financial data (reports, prices, news, charts) to build adaptive investment portfolios.

    Core Components:

    1. Seed Alpha Factory (LLM-driven): Extracts and generates formulaic Alpha factors from academic papers, financial reports, news, and charts.
    2. Multi-modal Multi-agent Evaluation: Uses multiple agents with different risk preferences (conservative, neutral, aggressive) to score Alphas based on backtesting and market sentiment.
    3. Dynamic Weight Optimization: Employs deep learning (e.g., DNN) to adjust the weights of selected Alphas based on real-time market states.
  8. Overview of Quant Wiki

    master
    Quant Wiki is an open-source, continuously updated Chinese knowledge-sharing platform for quantitative finance. It focuses on breaking information gaps in the quantitative finance industry by providing resources on quantitative trading core knowledge, common models, algorithm design, and practical trading strategies (e.g., factor models, event-driven strategies, and execution cost optimization).
  9. Overview of AI in Quantitative Trading

    master

    Generative AI is transforming quantitative trading by enhancing data processing, real-time decision-making, and multi-dimensional analysis. Key capabilities include:

    • Automated Strategy Generation: Autonomous creation and optimization of trading strategies.
    • Intelligent Market Analysis: Deep analysis of unstructured data (news, research reports) using natural language understanding.
    • Scenario Simulation: Generating test data to simulate various market conditions and improve strategy robustness.
    • Reduced Human Bias: Data-driven decision-making that minimizes emotional influence.
    • Knowledge Integration: Fusing historical experience, market patterns, and recent research into decision systems.
  10. Overview of the TradingAgents Multi-Agent LLM Framework

    master

    TradingAgents is a multi-agent LLM financial trading framework designed to simulate the organizational structure of a professional trading firm. Unlike single-agent systems, it utilizes a team-based approach with specialized roles to handle fundamental research, sentiment analysis, technical analysis, and risk management.

    Key features include:

    • Role Specialization: Employs diverse roles such as fundamental analysts, sentiment/news analysts, technical analysts, and Bull/Bear researchers to balance market perspectives.
    • Hybrid Communication: Uses a combination of "structured reports" and "natural language debate" to ensure information integrity while allowing for complex multi-round discussions.
    • Risk Management: Includes a dedicated risk management team to monitor exposure and control downside risks.
    • Decision Workflow: The system follows a hierarchical process: Analysts collect data $\rightarrow$ Researchers debate and evaluate $\rightarrow$ Traders make decisions based on research $\rightarrow$ Risk Management monitors exposure $\rightarrow$ Fund Managers approve and execute trades.
  11. Overview of FinRobot Framework

    master

    FinRobot is an AI agent framework designed for automated equity research. It utilizes a multi-agent Chain of Thought (CoT) system to combine quantitative and qualitative analysis, simulating the reasoning process of a human financial analyst. The framework is structured into three functional layers:

    1. Data-CoT Agent: Aggregates multi-source data (SEC filings, earnings calls, company announcements, etc.), performs cleaning, formatting, and extracts key financial metrics.
    2. Concept-CoT Agent: Analyzes processed data to derive financial concepts and forecasts (e.g., revenue growth, EBITDA trends, market positioning) and evaluates competitive landscapes and risks.
    3. Thesis-CoT Agent: Integrates all findings into a professional investment research report following sell-side industry standards, including investment theses, risk assessments, and valuation models.

    The project is open-source and available at: https://github.com/AI4Finance-Foundation/FinRobot.

  12. Understand Futures Trading Fundamentals

    master

    A futures contract is a derivative agreement to buy or sell a specific underlying asset at a predetermined price on a specific future date.

    Key Concepts:

    • Derivatives: The value of a futures contract is derived from the price fluctuations of the underlying asset.
    • Obligation: Unlike options (which provide the right but not the obligation), futures require the buyer to purchase and the seller to sell the asset at the set price, regardless of the market price at expiration.
    • Standardization: Contracts are standardized in quantity, quality, and delivery terms to facilitate exchange trading, ensuring transparency and liquidity.
    • Settlement Types:
      • Physical Delivery: Common for commodities like oil, gold, or wheat.
      • Cash Settlement: Standard for stock and stock index futures.