mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-05 08:51:20 +00:00
* fix(docs): added margin between sections * fix: images * readd old content for examples/images * fix: codespell * fix: codespell * fix: ga * fix: remove temp lorem ipsum * fix: docu config for edit page Co-authored-by: teh_coderer <me@tehcoderer.com>
1.0 KiB
Vendored
1.0 KiB
Vendored
title, description
| title | description |
|---|---|
| il | OpenBB Terminal Function |
il
Tool to calculate Impermanent Loss in a custom liquidity pool. Users can provide percentages increases for two tokens (and their weight in the liquidity pool) and verify the impermanent loss that can occur.
Usage
usage: il [-a PRICECHANGEA] [-b PRICECHANGEB] [-p PROPORTION] [-v VALUE] [-n]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| priceChangeA | Token A price change in percentage | 0 | True | range(1, 101) |
| priceChangeB | Token B price change in percentage | 100 | True | range(1, 101) |
| proportion | Pool proportion. E.g., 50 means that pool contains 50%% of token A and 50%% of token B, 30 means that pool contains 30%% of token A and 70%% of token B | 50 | True | range(1, 101) |
| value | Initial amount of dollars that user provides to liquidity pool | 1000 | True | None |
| narrative | Flag to show narrative instead of dataframe | False | True | None |