Skip to content
项目

关于

[NeurIPS 2025 & ICLR 2025 Financial AI Best Paper Award] A multi-agent framework that leverages LLMs to simulate socio-economic systems

商业与金融

这些数字如何统计

可以做什么

  • 🤖 Intelligent Trading Agents: LLM-driven, personalized decision-making
  • 🌐 Social Network Simulation: Forum-style interactions and user relationship graphs
  • 📊 Multi-dimensional Analytics: Technical indicators, news, and market sentiment
  • 🎲 Behavioral Finance Modeling: Includes disposition effect, lottery preference, and more

实测星标增长

24小时
0
7天
+2
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README_zh.md

原文

TwinMarket - A股市场模拟系统(1.0版本)

[ English | 中文 ]

TwinMarket Overview

📖 项目简介

TwinMarket 是一个创新的股票交易模拟系统,通过集成大语言模型(LLM)技术,模拟真实的股票市场交易环境。系统通过多智能体协作,实现了包括个性化交易策略、社交网络互动、新闻信息分析等在内的全方位市场模拟。

🎯 核心特性

  • 🤖 智能交易代理:基于 LLM 的个性化交易决策系统
  • 🌐 社交网络模拟:完整的论坛互动和用户关系网络
  • 📊 多维度分析:整合技术指标、新闻信息、市场情绪等多种因素
  • 🎲 行为金融建模:考虑处置效应、彩票偏好等行为金融因素
  • ⚡ 高性能并发:支持大规模用户并发交易模拟
  • 📈 实时撮合引擎:完整的订单撮合和交易执行系统

🚀 快速开始

# 自行配置 API 与 embedding 模型:
cp config/api_example.yaml config/api.yaml
cp config/embedding_example.yaml config/embedding.yaml

# 运行样例
bash script/run.sh

📝 开发指南

扩展交易策略

在 trader/trading_agent.py 中实现新的交易策略:

def custom_strategy(self, market_data):
    """自定义交易策略"""
    # 实现你的策略逻辑
    pass

添加新的评估指标

在 trader/utility.py 中添加评估函数:

def calculate_custom_metric(trades):
    """计算自定义指标"""
    # 实现指标计算
    pass

📚 使用 TwinMarket 的优秀论文

欢迎社区贡献。如果你的论文使用了 TwinMarket,欢迎提交 PR 添加到这里。

标题 代码 论文
Interpreting Emergent Extreme Events in Multi-Agent Systems https://github.com/mjl0613ddm/IEEE https://arxiv.org/abs/2601.20538

🧾 引用

@inproceedings{yang2025twinmarket,
      title={TwinMarket: A Scalable Behavioral and Social Simulation for Financial Markets},
      author={Yuzhe Yang and Yifei Zhang and Minghao Wu and Kaidi Zhang and
              Yunmiao Zhang and Honghai Yu and Yan Hu and Benyou Wang},
      booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS)},
      series={NeurIPS},
      volume={39},
      year={2025},
      url={https://arxiv.org/abs/2502.01506},
}

📄 许可证

本项目采用 MIT License,详见 LICENSE。

探索相关项目

加载中…