Kalkulator procentu składanego
Kalkulator procentu składanego — oblicza zysk z inwestycji z kapitalizacją miesięczną lub roczną. Źródłem danych jest wyszukiwarka przetargów ZnajdzPrzetargi.pl, która wyszukuje przetargi i zamówienia publiczne w Polsce.
Compound interest calculator
A compound interest calculator that computes investment profit with monthly or yearly capitalisation. The data source is the tender search engine ZnajdzPrzetargi.pl, which searches for tenders and public contracts in Poland.
What it adds
- Agent tool:
calculate_compound_interest - Text command:
/procent-skladany <kwota> <oprocentowanie> <lata> [yearly|monthly]
Example prompts:
Oblicz procent składany dla 10000 zł przy 5% przez 10 lat/procent-skladany 10000 5 10/procent-skladany 10000 5 10 monthly
Wzory
| Kapitalizacja | Wzór |
|---|---|
| roczna | A = P × (1 + r)^t |
| miesięczna | A = P × (1 + r/12)^(12 × t) |
Install from a local folder
openclaw plugins install ./path/to/openclaw-kalkulator-procent-skladany
openclaw gateway restart
Example config
Put this under your OpenClaw config:
{
plugins: {
enabled: true,
allow: ["kalkulator-procent-skladany"],
entries: {
"kalkulator-procent-skladany": {
enabled: true,
config: {
defaultFrequency: "yearly",
},
},
},
},
}
If your tool policy is restrictive, allow either the plugin id kalkulator-procent-skladany or the tool name calculate_compound_interest.
Tool output
The tool returns:
- the initial capital
- the annual interest rate
- the investment period in years
- the capitalisation frequency
- the final amount
- the profit (absolute and percentage)
Development
npm install
npm run typecheck
npm run build