# My returns are wrong

The returns for your portfolio are always calculated using a time-weighted rate of return. This is to avoid distorting performance due to deposits or withdrawals.

Essentially to calculate the return for your portfolio, we calculate the return for each sub-period and then multiply these returns.

Please note: deposits affect the calculation of your returns! **For deep understanding check out** [**this article**](https://www.investopedia.com/terms/t/time-weightedror.asp#:~:text=The%20time%2Dweighted%20rate%20of,inflows%20and%20outflows%20of%20money)**.**

> *Example:*
>
> *Alice put in $1000 during the first month and gains 10%. She then decides to put in another $2000 and gains 5% during the second month. Her ending balance is $3255.*
>
> *Bob also put in $1000 at the same time and gained 10%. He then decided to take the profit and withdrew $100. During the second month, he gained 5%. His ending balance is $1050.*
>
> *Their end results are different***,** *yet the performance is the same. The returns should reflect that.*
>
> *So to calculate time-weighted rate of return, we just multiply (1 + 0.1) \* (1 + 0.05) - 1 = 0.155 or 15.5%*

If you still find that your returns are wrong, please send a message into the in-app chat describing your situation, we will check and correct everything.


---

# Agent Instructions: 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:

```
GET https://cindicator.gitbook.io/stoic-ai/support/faq/my-returns-are-wrong.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
