{
  "_id": "6a292790732311cd8759f6ca",
  "Package": "impermanentlosscalc",
  "Title": "Calculate Impermanent Loss in Automated Market Maker (AMM)\nLiquidity Pools",
  "Version": "0.1.0",
  "Authors@R": "person(\"Amber\", \"Krause\", , \"amber32k@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7493-3909\"))",
  "Description": "Computes the key metrics for assessing the performance of\na liquidity provider (LP) position in a weighted multi-asset\nAutomated Market Maker (AMM) pool. Calculates the nominal and\npercentage impermanent loss (IL) by comparing the portfolio\nvalue inside the pool (based on the weighted geometric mean of\nprice ratios) against the value of simply holding the assets\noutside the pool (based on the weighted arithmetic mean). The\nprimary function, `impermanent_loss()`, incorporates the effect\nof earned trading fees to provide the LP's net profit and loss\nrelative to a holding strategy, using a methodology derived\nfrom Tiruviluamala, N., Port, A., and Lewis, E. (2022)\n<doi:10.48550/arXiv.2203.11352>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 08:29:48 UTC",
    "User": "root"
  },
  "Author": "Amber Krause [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7493-3909>)",
  "Maintainer": "Amber Krause <amber32k@gmail.com>",
  "Repository": "https://amber32k.r-universe.dev",
  "Date/Publication": "2025-12-11 13:40:11 UTC",
  "RemoteUrl": "https://github.com/cran/impermanentlosscalc",
  "RemoteRef": "HEAD",
  "RemoteSha": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
  "MD5sum": "46e52687ba3cb9b1e2627412d94f458c",
  "_user": "amber32k",
  "_type": "src",
  "_file": "impermanentlosscalc_0.1.0.tar.gz",
  "_fileid": "75756ab394479990c44f07353dd0854beaf46460e65a631fbd8c8266a384d87e",
  "_filesize": 89085,
  "_sha256": "75756ab394479990c44f07353dd0854beaf46460e65a631fbd8c8266a384d87e",
  "_created": "2026-06-10T08:29:48.000Z",
  "_published": "2026-06-10T09:00:00.597Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80515090009,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7530515475"
    },
    {
      "job": 80515089941,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530525149"
    },
    {
      "job": 80515089925,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7531115053"
    },
    {
      "job": 80515089945,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531006358"
    },
    {
      "job": 80514578747,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530460616"
    },
    {
      "job": 80515089901,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530501593"
    },
    {
      "job": 80515089940,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7530495587"
    },
    {
      "job": 80515090030,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7530492521"
    },
    {
      "job": 80515089990,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530493965"
    }
  ],
  "_buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/impermanentlosscalc",
  "_commit": {
    "id": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
    "author": "Amber Krause <amber32k@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1765460411
  },
  "_maintainer": {
    "name": "Amber Krause",
    "email": "amber32k@gmail.com",
    "login": "amber32k",
    "description": "Ed.D. student at Franklin University.\n",
    "uuid": 204584034,
    "orcid": "0000-0002-7493-3909"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-12-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "amber32k",
      "count": 1,
      "uuid": 204584034
    }
  ],
  "_userbio": {
    "uuid": 204584034,
    "type": "user",
    "name": "Amber",
    "description": "Ed.D. student at Franklin University."
  },
  "_downloads": {
    "count": 106,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/impermanentlosscalc"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/impermanentlosscalc.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "amber32k",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "impermanent_loss"
  ],
  "_help": [
    {
      "page": "impermanent_loss",
      "title": "Impermanent Loss Calculator for Weighted AMM Pools",
      "topics": [
        "impermanent_loss"
      ]
    }
  ],
  "_readme": "https://github.com/cran/impermanentlosscalc/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to Weighted AMM Impermanent Loss",
      "author": "Amber Krause",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to Weighted AMM Impermanent Loss",
        "The Practical Justification",
        "The Mathematical Principle",
        "Function: Impermanent Loss Calculation",
        "Function Demonstration: Broad Applicability",
        "Example 1: Standard Two-Asset Pool (50/50 Uniswap)",
        "Example 2: Multi-Asset Pool (Balancer Type)",
        "Reference"
      ],
      "created": "2025-12-11 13:40:11",
      "modified": "2025-12-11 13:40:11",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "impermanentlosscalc",
  "_universes": [
    "amber32k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-10T08:32:09.000Z",
      "distro": "noble",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "32376bb3cdba0447d50d43f949a2dd0d54195e57d0d9789b43c99938c718a9e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-10T08:32:32.000Z",
      "distro": "noble",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "9b168a3572227493fef5e77cc8d7eec3ceb48cfb6f8464c7bd9b5c333b2fe3c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-10T08:59:08.000Z",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "2d23652d2f82a929e68deb80755c53a7cdfc798760ca0dcc49d694ea1e377c1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-10T08:54:12.000Z",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "9cfd8df950572f7c54340ae8ff1b71c9d3067e71cf254c3e3d41316d96c2c49a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-10T08:31:51.000Z",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "31515d087a4cbcddaa7b788e9da867407a90eef08a99cf7c8540c37c213a05ff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-10T08:31:10.000Z",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "d9b5043bbae5e40a018138c8304c5a71d7e78724012d0e699d6b7026dab38205",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-10T08:31:02.000Z",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "cfdbced09789f64cb74dae70db427b46cb05d39d54cefefdf0cd888938fc7394",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-10T08:31:07.000Z",
      "commit": "e9c37af8b76b167dd083c48cb0f99a97648c3cbe",
      "fileid": "fd48130bf1fbefbf77fffc9aef0794295465c0069f08ec94dd85a7ada687b1b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amber32k/actions/runs/27263422003"
    }
  ]
}