{
  "_id": "6a138530acfb0bcc41d2b8aa",
  "Type": "Package",
  "Package": "RTL",
  "Title": "Risk Tool Library - Trading, Risk, Analytics for Commodities",
  "Version": "1.3.9",
  "Date": "2026-05-22",
  "Authors@R": "c(\nperson(\"Philippe\", \"Cote\", , \"pcote@ualberta.ca\", role = c(\"aut\", \"cre\")),\nperson(\"Nima\", \"Safaian\", , \"nima.safaian@gmail.com\", role = \"aut\")\n)",
  "Description": "A toolkit for Commodities 'analytics', risk management and\ntrading professionals. Includes functions for API calls to\n<https://www.zema.global/platforms/zema-marketplace>,\n<https://developer.genscape.com/>, and\n<https://www.bankofcanada.ca/valet/docs>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/risktoollib/RTL",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "RoxygenNote": "8.0.0",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "BugReports": "https://github.com/risktoollib/RTL/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://risktoollib.r-universe.dev",
  "Date/Publication": "2026-05-24 22:44:09 UTC",
  "RemoteUrl": "https://github.com/risktoollib/rtl",
  "RemoteRef": "HEAD",
  "RemoteSha": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 23:02:39 UTC",
    "User": "root"
  },
  "Author": "Philippe Cote [aut, cre],\nNima Safaian [aut]",
  "Maintainer": "Philippe Cote <pcote@ualberta.ca>",
  "MD5sum": "eb90317cf84ff4a4bba1d9c4f376c603",
  "_user": "risktoollib",
  "_type": "src",
  "_file": "RTL_1.3.9.tar.gz",
  "_fileid": "f98efb688d786feb3c41fa4be637bd63652ca9f1cf3f9a91b42c15c83951753f",
  "_filesize": 3766202,
  "_sha256": "f98efb688d786feb3c41fa4be637bd63652ca9f1cf3f9a91b42c15c83951753f",
  "_created": "2026-05-24T23:02:39.000Z",
  "_published": "2026-05-24T23:09:36.924Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77634248218,
      "time": 231,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7189112900"
    },
    {
      "job": 77634248226,
      "time": 240,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7189113862"
    },
    {
      "job": 77634248227,
      "time": 205,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189110460"
    },
    {
      "job": 77634248209,
      "time": 229,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189112729"
    },
    {
      "job": 77634248207,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7189100468"
    },
    {
      "job": 77634248215,
      "time": 349,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7189124877"
    },
    {
      "job": 77634248205,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189101028"
    },
    {
      "job": 77634248204,
      "time": 314,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189121223"
    },
    {
      "job": 77633996236,
      "time": 267,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189088563"
    },
    {
      "job": 77634248182,
      "time": 186,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189108171"
    },
    {
      "job": 77634248203,
      "time": 212,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7189110955"
    },
    {
      "job": 77634248192,
      "time": 207,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7189110526"
    },
    {
      "job": 77634248188,
      "time": 193,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7189108969"
    }
  ],
  "_buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/risktoollib/rtl",
  "_commit": {
    "id": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
    "author": "Philippe Cote <pcote@ualberta.ca>",
    "committer": "Philippe Cote <pcote@ualberta.ca>",
    "message": "cran approved\n",
    "time": 1779662649
  },
  "_maintainer": {
    "name": "Philippe Cote",
    "email": "pcote@ualberta.ca",
    "login": "risktoollib",
    "linkedin": "in/philippe-cote-88b1769",
    "description": "\n",
    "uuid": 5741332
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tsibble",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "PerformanceAnalytics",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "lpSolve",
      "role": "Suggests"
    },
    {
      "package": "rugarch",
      "role": "Suggests"
    },
    {
      "package": "tidyquant",
      "role": "Suggests"
    },
    {
      "package": "feasts",
      "role": "Suggests"
    },
    {
      "package": "fabletools",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "TTR",
      "role": "Suggests"
    },
    {
      "package": "timetk",
      "role": "Suggests"
    }
  ],
  "_owner": "risktoollib",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 2
    },
    {
      "week": "2025-34",
      "n": 3
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 3
    },
    {
      "week": "2026-21",
      "n": 6
    }
  ],
  "_tags": [],
  "_topics": [
    "analytics",
    "api",
    "commodities",
    "commodities-api",
    "finance",
    "genscape",
    "morningstar",
    "python",
    "risk-management",
    "cpp"
  ],
  "_stars": 34,
  "_contributors": [
    {
      "user": "risktoollib",
      "count": 425,
      "uuid": 5741332
    },
    {
      "user": "nsheridanqi",
      "count": 1,
      "uuid": 172301001
    }
  ],
  "_userbio": {
    "uuid": 5741332,
    "type": "user",
    "name": "Philippe Cote"
  },
  "_downloads": {
    "count": 439,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RTL"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/risktoollib/rtl",
  "_searchresults": 333,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RTL.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/risktoollib/rtl",
  "_realowner": "risktoollib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2020-02-23"
    },
    {
      "version": "0.1.3",
      "date": "2020-06-07"
    },
    {
      "version": "0.1.4",
      "date": "2020-09-04"
    },
    {
      "version": "0.1.5",
      "date": "2020-11-11"
    },
    {
      "version": "0.1.6",
      "date": "2021-04-07"
    },
    {
      "version": "0.1.7",
      "date": "2021-06-12"
    },
    {
      "version": "0.1.8",
      "date": "2021-09-21"
    },
    {
      "version": "0.1.9",
      "date": "2022-01-05"
    },
    {
      "version": "0.1.91",
      "date": "2022-01-07"
    },
    {
      "version": "1.0.0",
      "date": "2022-02-12"
    },
    {
      "version": "1.1.0",
      "date": "2022-05-19"
    },
    {
      "version": "1.2.0",
      "date": "2022-06-17"
    },
    {
      "version": "1.3.0",
      "date": "2022-11-08"
    },
    {
      "version": "1.3.1",
      "date": "2022-11-16"
    },
    {
      "version": "1.3.2",
      "date": "2023-01-08"
    },
    {
      "version": "1.3.3",
      "date": "2023-04-12"
    },
    {
      "version": "1.3.4",
      "date": "2023-10-21"
    },
    {
      "version": "1.3.5",
      "date": "2024-01-09"
    },
    {
      "version": "1.3.7",
      "date": "2025-02-26"
    },
    {
      "version": "1.3.9",
      "date": "2026-05-23"
    }
  ],
  "_exports": [
    "%>%",
    "barrierSpreadOption",
    "bond",
    "chart_eia_sd",
    "chart_eia_steo",
    "chart_fwd_curves",
    "chart_pairs",
    "chart_PerfSummary",
    "chart_spreads",
    "chart_zscore",
    "CRReuro",
    "CRROption",
    "efficientFrontier",
    "eia2tidy",
    "eia2tidy_all",
    "fitOU",
    "garch",
    "GBSOption",
    "getBoC",
    "getCurve",
    "getGenscapePipeOil",
    "getGenscapeStorageOil",
    "getGIS",
    "getPrice",
    "getPrices",
    "npv",
    "promptBeta",
    "refineryLP",
    "returns",
    "rolladjust",
    "simGBM",
    "simMultivariates",
    "simOU",
    "simOUJ",
    "simOUt",
    "spreadOption",
    "swapCOM",
    "swapFutWeight",
    "swapInfo",
    "swapIRS",
    "tradeStats",
    "tradeStrategyDY",
    "tradeStrategySMA"
  ],
  "_datasets": [
    {
      "name": "cma",
      "title": "metadata for WTI CMA",
      "object": "cma",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "swapMonth",
        "bizDays",
        "pricedIn",
        "expiry",
        "numDaysFut1",
        "numDaysFut2",
        "percentFut1"
      ],
      "rows": 192,
      "table": true,
      "tojson": true
    },
    {
      "name": "crudeOil",
      "title": "dataset: crude assays",
      "object": "crudeOil",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cushing",
      "title": "dataset: WTI Cushing Futures and storage utilization",
      "object": "cushing",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "dflong",
      "title": "dataset: commodity prices in a long dataframe format",
      "object": "dflong",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "series",
        "value"
      ],
      "rows": 556557,
      "table": true,
      "tojson": true
    },
    {
      "name": "dfwide",
      "title": "dataset: commodity prices in a wide dataframe format",
      "object": "dfwide",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "CL01",
        "CL02",
        "CL03",
        "CL04",
        "CL05",
        "CL06",
        "CL07",
        "CL08",
        "CL09",
        "CL10",
        "CL11",
        "CL12",
        "CL13",
        "CL14",
        "CL15",
        "CL16",
        "CL17",
        "CL18",
        "CL19",
        "CL20",
        "CL21",
        "CL22",
        "CL23",
        "CL24",
        "CL25",
        "CL26",
        "CL27",
        "CL28",
        "CL29",
        "CL30",
        "CL31",
        "CL32",
        "CL33",
        "CL34",
        "CL35",
        "CL36",
        "NG01",
        "NG02",
        "NG03",
        "NG04",
        "NG05",
        "NG06",
        "NG07",
        "NG08",
        "NG09",
        "NG10",
        "NG11",
        "NG12",
        "NG13",
        "NG14",
        "NG15",
        "NG16",
        "NG17",
        "NG18",
        "NG19",
        "NG20",
        "NG21",
        "NG22",
        "NG23",
        "NG24",
        "NG25",
        "NG26",
        "NG27",
        "NG28",
        "NG29",
        "NG30",
        "NG31",
        "NG32",
        "NG33",
        "NG34",
        "NG35",
        "NG36",
        "HTT02",
        "HTT01",
        "HTT03",
        "HTT04",
        "HTT05",
        "HTT06",
        "HTT07",
        "HTT08",
        "HTT09",
        "HTT10",
        "HTT11",
        "HTT12",
        "HO01",
        "HO02",
        "HO03",
        "HO04",
        "HO05",
        "HO06",
        "HO07",
        "HO08",
        "HO09",
        "HO10",
        "HO11",
        "HO12",
        "HO13",
        "HO14",
        "HO15",
        "HO16",
        "HO17",
        "HO18",
        "RB01",
        "RB02",
        "RB03",
        "RB04",
        "RB05",
        "RB06",
        "RB07",
        "RB08",
        "RB09",
        "RB10",
        "RB11",
        "RB12",
        "RB13",
        "RB14",
        "RB15",
        "RB16",
        "RB17",
        "RB18"
      ],
      "rows": 4883,
      "table": true,
      "tojson": true
    },
    {
      "name": "eiaStocks",
      "title": "dataset: EIA weekly stocks",
      "object": "eiaStocks",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "series",
        "value"
      ],
      "rows": 5061,
      "table": true,
      "tojson": true
    },
    {
      "name": "eiaStorageCap",
      "title": "dataset: EIA working storage capacity",
      "object": "eiaStorageCap",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "series",
        "date",
        "value",
        "product"
      ],
      "rows": 367,
      "table": true,
      "tojson": true
    },
    {
      "name": "expiry_table",
      "title": "dataset: expiry of common commodity futures contract.",
      "object": "expiry_table",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "cmdty",
        "tick.prefix",
        "Last.Trade",
        "First.Notice",
        "First.Delivery",
        "Last.Delivery",
        "Year",
        "Month",
        "Month.Letter"
      ],
      "rows": 3272,
      "table": true,
      "tojson": true
    },
    {
      "name": "fizdiffs",
      "title": "dataset: randomised physical crude differentials",
      "object": "fizdiffs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "WTI.CMA01",
        "WTI.CMA02",
        "WCS.CUS",
        "WCS.HOU",
        "WCS.HDY",
        "CL.EDM",
        "MSW.EDM",
        "Mars.CLO01",
        "Mars.CLO02",
        "LLS.SJA",
        "SYN.EDM",
        "C5.EDM",
        "DUB.EFS",
        "WTI.MEH",
        "WTI.MID",
        "ULSD.SF",
        "ULSD.LA",
        "ULSD.MidCon",
        "ULSD.HOU.Dock",
        "ULSD.HOU.Pipe",
        "ULSD.Buckeye",
        "ULSD.PNW"
      ],
      "rows": 1605,
      "table": true,
      "tojson": true
    },
    {
      "name": "futuresRef",
      "title": "dataset: futures contracts metadata",
      "object": "futuresRef",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "holidaysOil",
      "title": "dataset: NYMEX and ICE holiday calendars",
      "object": "holidaysOil",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "key",
        "value"
      ],
      "rows": 209,
      "table": true,
      "tojson": true
    },
    {
      "name": "ohlc",
      "title": "dataset: randomiser to convert settlement into OHLC",
      "object": "ohlc",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "Open",
        "High",
        "Low",
        "Close"
      ],
      "rows": 2733,
      "table": true,
      "tojson": true
    },
    {
      "name": "planets",
      "title": "dataset: IR compounding",
      "object": "planets",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Planet",
        "Mass (1024kg)",
        "Diameter (km)",
        "Density (kg/m3)",
        "Gravity (m/s2)",
        "Escape Velocity (km/s)",
        "Rotation Period (hours)",
        "Length of Day (hours)",
        "Distance from Sun (106 km)",
        "Perihelion (106 km)",
        "Aphelion (106 km)",
        "Orbital Period (days)",
        "Orbital Velocity (km/s)",
        "Orbital Inclination (degrees)",
        "Orbital Eccentricity",
        "Obliquity to Orbit (degrees)",
        "Mean Temperature (C)",
        "Number of Moons"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "refineryLPdata",
      "title": "dataset: refinery LP model sample inputs and outputs",
      "object": "refineryLPdata",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "spot2futConvergence",
      "title": "dataset: spot to futures convergence",
      "object": "spot2futConvergence",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "series",
        "value"
      ],
      "rows": 1041,
      "table": true,
      "tojson": true
    },
    {
      "name": "spot2futCurve",
      "title": "dataset: spot to futures convergence curve",
      "object": "spot2futCurve",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "contract",
        "code",
        "expirationDate",
        "Close"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "steo",
      "title": "dataset: EIA Short Term Energy Outlook",
      "object": "steo",
      "class": [
        "plotly",
        "htmlwidget"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "stocks",
      "title": "dataset: Yahoo Finance data sets",
      "object": "stocks",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "tickers_eia",
      "title": "datasest: metadata of key EIA tickers grouped by products.",
      "object": "tickers_eia",
      "class": [
        "data.frame"
      ],
      "fields": [
        "tick.eia",
        "tick.r",
        "product",
        "category",
        "sd_category"
      ],
      "rows": 197,
      "table": true,
      "tojson": true
    },
    {
      "name": "tradeCycle",
      "title": "dataset: Canadian and US physical crude trading calendars",
      "object": "tradeCycle",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "market",
        "flowmonth",
        "trade.cycle.start",
        "trade.cycle.end",
        "daysInCycle",
        "dailyWt",
        "bizDays",
        "pricedIn"
      ],
      "rows": 317,
      "table": true,
      "tojson": true
    },
    {
      "name": "tradeHubs",
      "title": "dataset: GIS locations for crude oil trading hubs",
      "object": "tradeHubs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "lat",
        "long",
        "hub"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    },
    {
      "name": "tsQuotes",
      "title": "dataset: interest rate curve data for RQuantlib .",
      "object": "tsQuotes",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "usSwapCurves",
      "title": "dataset: US bootstrapped interest rate curve.",
      "object": "usSwapCurves",
      "class": [
        "DiscountCurve"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "usSwapCurvesPar",
      "title": "dataset: US bootstrapped interest rate curve parallel sample.",
      "object": "usSwapCurvesPar",
      "class": [
        "DiscountCurve"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "wtiSwap",
      "title": "dataset: WTI Calendar Month Average Swap pricing data",
      "object": "wtiSwap",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "series",
        "value"
      ],
      "rows": 556557,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "barrierSpreadOption",
      "title": "Barrier Spread Option Pricing",
      "topics": [
        "barrierSpreadOption"
      ]
    },
    {
      "page": "bond",
      "title": "Bond pricing",
      "topics": [
        "bond"
      ]
    },
    {
      "page": "chart_eia_sd",
      "title": "EIA weekly supply-demand information by product group",
      "topics": [
        "chart_eia_sd"
      ]
    },
    {
      "page": "chart_eia_steo",
      "title": "EIA Short Term Energy Outlook",
      "topics": [
        "chart_eia_steo"
      ]
    },
    {
      "page": "chart_fwd_curves",
      "title": "Plots historical forward curves",
      "topics": [
        "chart_fwd_curves"
      ]
    },
    {
      "page": "chart_pairs",
      "title": "Pairwise scatter plots for timeseries",
      "topics": [
        "chart_pairs"
      ]
    },
    {
      "page": "chart_PerfSummary",
      "title": "Cumulative performance and drawdown summary.",
      "topics": [
        "chart_PerfSummary"
      ]
    },
    {
      "page": "chart_spreads",
      "title": "Futures contract spreads comparison across years",
      "topics": [
        "chart_spreads"
      ]
    },
    {
      "page": "chart_zscore",
      "title": "Z-Score applied to seasonal data divergence",
      "topics": [
        "chart_zscore"
      ]
    },
    {
      "page": "cma",
      "title": "metadata for WTI CMA",
      "topics": [
        "cma"
      ]
    },
    {
      "page": "CRReuro",
      "title": "Cox-Ross-Rubinstein binomial option model",
      "topics": [
        "CRReuro"
      ]
    },
    {
      "page": "CRROption",
      "title": "Cox-Ross-Rubinstein Option Pricing Model",
      "topics": [
        "CRROption"
      ]
    },
    {
      "page": "crudeOil",
      "title": "dataset: crude assays",
      "topics": [
        "crudeOil"
      ]
    },
    {
      "page": "cushing",
      "title": "dataset: WTI Cushing Futures and storage utilization",
      "topics": [
        "cushing"
      ]
    },
    {
      "page": "dflong",
      "title": "dataset: commodity prices in a long dataframe format",
      "topics": [
        "dflong"
      ]
    },
    {
      "page": "dfwide",
      "title": "dataset: commodity prices in a wide dataframe format",
      "topics": [
        "dfwide"
      ]
    },
    {
      "page": "efficientFrontier",
      "title": "Markowitz Efficient Frontier",
      "topics": [
        "efficientFrontier"
      ]
    },
    {
      "page": "eia2tidy",
      "title": "EIA API call with tidy output",
      "topics": [
        "eia2tidy"
      ]
    },
    {
      "page": "eia2tidy_all",
      "title": "EIA API multiple calls with tidy output",
      "topics": [
        "eia2tidy_all"
      ]
    },
    {
      "page": "eiaStocks",
      "title": "dataset: EIA weekly stocks",
      "topics": [
        "eiaStocks"
      ]
    },
    {
      "page": "eiaStorageCap",
      "title": "dataset: EIA working storage capacity",
      "topics": [
        "eiaStorageCap"
      ]
    },
    {
      "page": "expiry_table",
      "title": "dataset: expiry of common commodity futures contract.",
      "topics": [
        "expiry_table"
      ]
    },
    {
      "page": "fitOU",
      "title": "Fits a Ornstein–Uhlenbeck process to a dataset",
      "topics": [
        "fitOU"
      ]
    },
    {
      "page": "fizdiffs",
      "title": "dataset: randomised physical crude differentials",
      "topics": [
        "fizdiffs"
      ]
    },
    {
      "page": "futuresRef",
      "title": "dataset: futures contracts metadata",
      "topics": [
        "futuresRef"
      ]
    },
    {
      "page": "garch",
      "title": "Wrapper for a Garch(1,1) returning either a plot or data.",
      "topics": [
        "garch"
      ]
    },
    {
      "page": "GBSOption",
      "title": "Generalized Black-Scholes (GBS) Option Pricing Model",
      "topics": [
        "GBSOption"
      ]
    },
    {
      "page": "getBoC",
      "title": "Bank of Canada Valet API",
      "topics": [
        "getBoC"
      ]
    },
    {
      "page": "getCurve",
      "title": "Zema Commodities API forward curves",
      "topics": [
        "getCurve"
      ]
    },
    {
      "page": "getGenscapePipeOil",
      "title": "Genscape API call for oil pipelines",
      "topics": [
        "getGenscapePipeOil"
      ]
    },
    {
      "page": "getGenscapeStorageOil",
      "title": "Genscape API call for oil storage",
      "topics": [
        "getGenscapeStorageOil"
      ]
    },
    {
      "page": "getGIS",
      "title": "Extract and convert GIS data from a URL",
      "topics": [
        "getGIS"
      ]
    },
    {
      "page": "getPrice",
      "title": "Zema API single call.",
      "topics": [
        "getPrice"
      ]
    },
    {
      "page": "getPrices",
      "title": "Zema Commodities API multiple calls",
      "topics": [
        "getPrices"
      ]
    },
    {
      "page": "holidaysOil",
      "title": "dataset: NYMEX and ICE holiday calendars",
      "topics": [
        "holidaysOil"
      ]
    },
    {
      "page": "npv",
      "title": "NPV",
      "topics": [
        "npv"
      ]
    },
    {
      "page": "ohlc",
      "title": "dataset: randomiser to convert settlement into OHLC",
      "topics": [
        "ohlc"
      ]
    },
    {
      "page": "planets",
      "title": "dataset: IR compounding",
      "topics": [
        "planets"
      ]
    },
    {
      "page": "promptBeta",
      "title": "Computes betas of futures contracts with respect to the 1st line contract",
      "topics": [
        "promptBeta"
      ]
    },
    {
      "page": "refineryLP",
      "title": "LP model for refinery optimization",
      "topics": [
        "refineryLP"
      ]
    },
    {
      "page": "refineryLPdata",
      "title": "dataset: refinery LP model sample inputs and outputs",
      "topics": [
        "refineryLPdata"
      ]
    },
    {
      "page": "returns",
      "title": "Compute absolute, relative or log returns.",
      "topics": [
        "returns"
      ]
    },
    {
      "page": "rolladjust",
      "title": "Adjusts daily returns for futures contracts roll",
      "topics": [
        "rolladjust"
      ]
    },
    {
      "page": "simGBM",
      "title": "GBM process simulation",
      "topics": [
        "simGBM"
      ]
    },
    {
      "page": "simMultivariates",
      "title": "Multivariate normal from historical dataset",
      "topics": [
        "simMultivariates"
      ]
    },
    {
      "page": "simOU",
      "title": "OU process simulation",
      "topics": [
        "simOU"
      ]
    },
    {
      "page": "simOUJ",
      "title": "OUJ process simulation",
      "topics": [
        "simOUJ"
      ]
    },
    {
      "page": "simOUt",
      "title": "OU process simulation",
      "topics": [
        "simOUt"
      ]
    },
    {
      "page": "spot2futConvergence",
      "title": "dataset: spot to futures convergence",
      "topics": [
        "spot2futConvergence"
      ]
    },
    {
      "page": "spot2futCurve",
      "title": "dataset: spot to futures convergence curve",
      "topics": [
        "spot2futCurve"
      ]
    },
    {
      "page": "spreadOption",
      "title": "Kirk's Approximation for Spread Option Pricing",
      "topics": [
        "spreadOption"
      ]
    },
    {
      "page": "steo",
      "title": "dataset: EIA Short Term Energy Outlook",
      "topics": [
        "steo"
      ]
    },
    {
      "page": "stocks",
      "title": "dataset: Yahoo Finance data sets",
      "topics": [
        "stocks"
      ]
    },
    {
      "page": "swapCOM",
      "title": "Commodity Calendar Month Average Swaps",
      "topics": [
        "swapCOM"
      ]
    },
    {
      "page": "swapFutWeight",
      "title": "Commodity Calendar Month Average Swap futures weights",
      "topics": [
        "swapFutWeight"
      ]
    },
    {
      "page": "swapInfo",
      "title": "Commodity Swap details to learn their pricing",
      "topics": [
        "swapInfo"
      ]
    },
    {
      "page": "swapIRS",
      "title": "Interest Rate Swap",
      "topics": [
        "swapIRS"
      ]
    },
    {
      "page": "tickers_eia",
      "title": "datasest: metadata of key EIA tickers grouped by products.",
      "topics": [
        "tickers_eia"
      ]
    },
    {
      "page": "tradeCycle",
      "title": "dataset: Canadian and US physical crude trading calendars",
      "topics": [
        "tradeCycle"
      ]
    },
    {
      "page": "tradeHubs",
      "title": "dataset: GIS locations for crude oil trading hubs",
      "topics": [
        "tradeHubs"
      ]
    },
    {
      "page": "tradeStats",
      "title": "Risk-reward statistics for quant trading",
      "topics": [
        "tradeStats"
      ]
    },
    {
      "page": "tradeStrategyDY",
      "title": "Sample quantitative trading strategy",
      "topics": [
        "tradeStrategyDY"
      ]
    },
    {
      "page": "tradeStrategySMA",
      "title": "Sample quantitative trading strategy",
      "topics": [
        "tradeStrategySMA"
      ]
    },
    {
      "page": "tsQuotes",
      "title": "dataset: interest rate curve data for RQuantlib .",
      "topics": [
        "tsQuotes"
      ]
    },
    {
      "page": "usSwapCurves",
      "title": "dataset: US bootstrapped interest rate curve.",
      "topics": [
        "usSwapCurves"
      ]
    },
    {
      "page": "usSwapCurvesPar",
      "title": "dataset: US bootstrapped interest rate curve parallel sample.",
      "topics": [
        "usSwapCurvesPar"
      ]
    },
    {
      "page": "wtiSwap",
      "title": "dataset: WTI Calendar Month Average Swap pricing data",
      "topics": [
        "wtiSwap"
      ]
    }
  ],
  "_readme": "https://github.com/risktoollib/rtl/raw/HEAD/README.md",
  "_rundeps": [
    "anytime",
    "askpass",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "mime",
    "numDeriv",
    "openssl",
    "otel",
    "PerformanceAnalytics",
    "pillar",
    "pkgconfig",
    "plotly",
    "promises",
    "purrr",
    "quadprog",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "tsibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xts",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 7.752893154884594,
  "_indexed": true,
  "_nocasepkg": "rtl",
  "_universes": [
    "risktoollib"
  ],
  "_previous": "1.3.8",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-05-24T23:06:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "feb7ffe56b72c0687a629ae205582281a1107b1d383ea5971c0f5d73968cd09d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-05-24T23:06:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "7f1edd9c8f8f05c34a21b2f89463a0de8a80fa19924a7c320b8cd986e508bb54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-05-24T23:05:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "9f110fc6412b38caf357f68d2ee6d53d8c0701efc0919ea3bd0947984442cda2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-05-24T23:06:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "4cec9a4decf115c8bc9e4ab7e08971d859777f57a739a0c6191d97cec33d2fd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-05-24T23:04:38.000Z",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "8025cba54ac84e7ccc4f6533c6016e36b33672641913a197328d1d75a5ba0707",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-05-24T23:07:11.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "fcc1fa8aa2efeadca46b140058357436e4cb8eafec6d9f608f837e41c8947041",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-05-24T23:04:40.000Z",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "89e41ae644a85c507e55526b400c1651a926721922fbe69784b470ac68ecf0f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-05-24T23:06:10.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "1a2432ab1abca28f2ed6740a9473cc7a786e0d457521eac950d0629598bcab92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.9",
      "date": "2026-05-24T23:06:12.000Z",
      "arch": "emscripten",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "f9d9a590efea5f5101bec824aaac15995da166e1cd3e33b99d67fdf7dd3c7988",
      "status": "success",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-05-24T23:05:10.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "6038ed9026ca5471591852e808b0e2a865b4de21b9c9056d63061a99f6a796ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-05-24T23:05:01.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "444edf63d76e3b5c196acdb5bf6117f059459ef38bfafd9978adc3011163d9e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-05-24T23:04:59.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "88ebd607f361e04b599f617838443c6214eafe97826f02c13ce5e6af4df761cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/26375136864"
    }
  ]
}