Files
OpenBB/website/versioned_docs/version-v3/terminal/reference/crypto/tools/il.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

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

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