MCPcopy Index your code
hub / github.com/No-Trade-No-Life/Yuan

github.com/No-Trade-No-Life/Yuan @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
7,134 symbols 19,651 edges 1,093 files 1,182 documented · 17% updated 2mo ago★ 34930 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Language TS Contributors Forks Stargazers MIT License

Discord Issues Open Bugs Closed Bugs

Logo

Yuan

Personal Investment Operating System

AI-powered, Global Markets, Cloud-Native, Privacy-Protected.

<a href="https://y.ntnl.io">Open Yuan Web GUI »</a>

English

Yuan is a "Personal Investment Operating System" that includes all the basic software and infrastructure needed for various personal investment activities. Yuan provides foundational platform support for many quantitative trading projects. The revenue from these projects is used to maintain Yuan's development, and some of the code is contributed back to the Yuan project to enhance the platform's capabilities. For project design philosophy and motivation, please refer to: Project Motivation.

Please choose the appropriate entry method based on your needs:

  • Regular Users: Deployment Guide - Quick deployment and system usage, no programming experience required
  • Developers: Developer Guide - Thank you for preparing to contribute to this project, please refer to this guide to set up the development environment and build the project

For more information, read the full documentation 📖

简体中文

Yuan 是一个"个人投资操作系统",包含各式各样的个人投资行为所需的一切基础软件和基础设施。 Yuan 为许多量化交易项目提供基础平台支持,这些项目的收入用于维持 Yuan 的开发,并将部分代码回馈到 Yuan 项目中,增强平台的能力。 关于项目的设计理念和动机,请参阅:项目动机

请根据您的需求选择合适的入门方式:

  • 普通用户部署指南 - 快速部署和使用系统,无需编程经验
  • 开发者开发者指南 - 非常感谢您准备为本项目做出贡献,请参考此指南以搭建开发环境和构建项目

更多信息,请阅读完整文档 📖

Extension points exported contracts — how you extend this code

ISemaphoreState (Interface)
* 信号量内部状态 * @internal
libraries/utils/src/semaphore.ts
ITimeFrame (Interface)
(no doc) [2 implementers]
libraries/time-series/src/interfaces.ts
IKernelUnit (Interface)
(no doc) [2 implementers]
libraries/kernel/src/kernel.ts
IPrometheusAlert (Interface)
* Prometheus `/api/v1/alerts` response payload. * @see https://github.com/prometheus/prometheus/blob/main/web/api/v1/ap
apps/alert-receiver/src/pipelines/prometheus-alert.ts
IFileSystemBackend (Interface)
(no doc) [2 implementers]
ui/web/src/modules/FileSystem/interfaces.ts
IAccountInfoResolver (Interface)
(no doc) [1 implementers]
libraries/account-info-resolver/src/model.ts
ICache (Interface)
(no doc)
libraries/cache/src/cache.ts
IQuote (Interface)
(no doc)
libraries/data-quote/src/types.ts

Core symbols most depended-on inside this repo

c_str
called by 6573
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h
info
called by 724
apps/vendor-ctp/ctp/include/spdlog/logger.h
formatTime
called by 698
libraries/utils/src/format-time.ts
string
called by 629
apps/vendor-ctp/ctp/include/json.hpp
error
called by 428
apps/vendor-ctp/ctp/include/spdlog/logger.h
push
called by 406
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/args.h
get
called by 380
libraries/prometheus/src/types.ts
log
called by 358
apps/vendor-ctp/ctp/include/spdlog/sinks/base_sink-inl.h

Shape

Function 2,512
Method 2,018
Class 1,338
Interface 908
Enum 358

Languages

TypeScript51%
C++49%
Python1%

Modules by API surface

apps/vendor-ctp/src/assets/ctp-types.ts820 symbols
apps/vendor-ctp/ctp/include/json.hpp573 symbols
apps/vendor-ctp/ctp/include/ThostFtdcUserApiStruct.h497 symbols
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h315 symbols
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h292 symbols
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h288 symbols
apps/vendor-ctp/ctp/src/NTNL-CTP-Bridge-Implementation.GENERATED.cpp163 symbols
apps/vendor-ctp/ctp/include/zmq.hpp145 symbols
apps/vendor-ctp/ctp/include/spdlog/pattern_formatter-inl.h145 symbols
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format-inl.h113 symbols
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h83 symbols
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/std.h54 symbols

Datastores touched

yuanDatabase · 1 repos
postgresDatabase · 1 repos
(mongodb)Database · 1 repos

For agents

$ claude mcp add Yuan \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact