> For the complete documentation index, see [llms.txt](https://www.bfm-unity.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.bfm-unity.org/invest-method/group-1/ruo-chen-de-cholesky-fen-jie-ce-le.md).

# 若尘的cholesky分解策略

## 若尘的cholesky分解策略

对了，晚上的时候我解出了最佳资产配比的方法对于可用的n种资产，平均收益率向量为b，对数协方差矩阵为A，

那么对A作cholesky分解得到A=R'R，最优资产配置就是(R^{-1})'b（的归一化）

注意要添加一种资产叫做银行存款，它和任何资产包括它自己的协方差都是零这样就把所有仓位都统一了

而且既用到了凯利公式的核心就是对数效用函数，又用到了夏普率，我会的工具能做到的就这么多了

这比你那个什么同架策略简洁可靠得多越看越觉得巧妙

一个cholesky分解就解决了问题

顺便因为非正定矩阵是没法分解的，所以用模拟的广发钱袋子代替银行存款，引入一个微小的正态扰动，规避掉奇异矩阵的问题​<https://github.com/sffred/fundFuser/blob/main/README.md>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.bfm-unity.org/invest-method/group-1/ruo-chen-de-cholesky-fen-jie-ce-le.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
