> For the complete documentation index, see [llms.txt](https://docs.payswap.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payswap.org/zhong-guo-ren/use-cases/valuepools/group-investment-app.md).

# 集团投资应用程序

您可以利用valuepools的功能来构建一个实现DCA策略的团队投资应用。为了构建这样的应用，您需要以下功能：

* 收集用户的投资
* 共同决定投资目标
* 支付投资资金
* 分配投资利润

## 工作原理

首先，DCA（定投成本）投资策略是指定期定额地投资于特定资产，而不考虑其是否上涨或下跌。

作为一个团队实施这种策略的方式是通过一个valuepool，其中用户定期锁定资金。让我们假设valuepool决定每个月购买1000个以太币。

每个月，卖家会向valuepool提议，以交换valuepool的代币X数量为代价，购买1000个以太币。为此，他们将创建提案，在提案中锁定1000个以太币作为贿赂，并输入他们希望从valuepool中提取的代币以及他们希望以这些代币交换1000个以太币的数量X。他们还可以在提案的正文中添加任何额外的信息。

valuepool进行投票，如果同意他们的提议，他们将能够提取指定代币的数量X，并且valuepool的成员将能够解锁1000个以太币，并将其发送到valuepool。

否则，卖家将能够解锁贿赂，并将1000个以太币发送回给他们。

假设卖家1想向valuepool出售一些以太币，如果valuepool的代币是USD tFIATs，他将创建一个提案，建议以200万美元tFIATs的价格购买1000个以太币。

这将经过一个投票过程（其持续时间取决于valuepool），如果成员们同意购买，卖家1将能够从valuepool中提取资金，并解锁贿赂，这将自动将1000个以太币发送到valuepool。

解锁贿赂将贿赂发送给卖家或valuepool。任何人都可以解锁任何贿赂，只要贿赂提案的投票窗口已关闭。

这个过程也可以扩展到不仅仅是区块链上的代币，还可以是股票市场上的股票。在这种情况下，卖家将从valuepool中提取资金，并代表valuepool购买股票。卖家必须值得信赖和/或拥有足够大的赏金余额来保证可信度。


---

# 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://docs.payswap.org/zhong-guo-ren/use-cases/valuepools/group-investment-app.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.
