# Interest Compounding

Instead of the traditional way of compounding by the block, Patronus distributes interest by the second.

On most lending platforms, the interest rates that users see on their website pages can never be met based on the premise that the contract is triggered by a transaction in order to settle the interest.

<figure><img src="/files/WoGpaj1icy9iHTlWuQVI" alt=""><figcaption></figcaption></figure>

Patronus converts deposit APY and borrowing APY into interest rate per second and adopts continuous compound interest calculation to ensure the perfect match between actual interest and borrowing period.&#x20;

<figure><img src="/files/4N5ZNYlQqzb41EmeXuAH" alt=""><figcaption></figcaption></figure>

Under this interest calculation method, the account update no longer depends on the trigger of the smart contract, and the accrued interest is no longer affected by other factors, ensuring the timeliness and predictability of the interest rate model.


---

# 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://wiki.patronus.fi/financial-model/interest-compounding.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.
