{
  "_id": "6a3a60876265ec60d6212c16",
  "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-06-23 10:21:14 UTC",
    "User": "root"
  },
  "Author": "Philippe Cote [aut, cre],\nNima Safaian [aut]",
  "Maintainer": "Philippe Cote <pcote@ualberta.ca>",
  "MD5sum": "eced03fbed95bb7ce54027f41042ee04",
  "_user": "risktoollib",
  "_type": "src",
  "_file": "RTL_1.3.9.tar.gz",
  "_fileid": "7097936eb255ae47c200d89f93d116fc43866f29ca856d123d85b15593b909ef",
  "_filesize": 3768908,
  "_sha256": "7097936eb255ae47c200d89f93d116fc43866f29ca856d123d85b15593b909ef",
  "_created": "2026-06-23T10:21:14.000Z",
  "_published": "2026-06-23T10:31:35.412Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82931510764,
      "time": 228,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7818114360"
    },
    {
      "job": 82931510747,
      "time": 279,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7818132555"
    },
    {
      "job": 82931510721,
      "time": 204,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818103689"
    },
    {
      "job": 82931510720,
      "time": 224,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818109991"
    },
    {
      "job": 82931510817,
      "time": 229,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7818105643"
    },
    {
      "job": 82931510766,
      "time": 555,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7818224702"
    },
    {
      "job": 82931510834,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818083494"
    },
    {
      "job": 82931510802,
      "time": 308,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818133970"
    },
    {
      "job": 82930621144,
      "time": 292,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818028952"
    },
    {
      "job": 82931510731,
      "time": 195,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818101263"
    },
    {
      "job": 82931510680,
      "time": 314,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7818145433"
    },
    {
      "job": 82931510716,
      "time": 170,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7818093494"
    },
    {
      "job": 82931510760,
      "time": 210,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818104716"
    }
  ],
  "_buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493",
  "_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-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",
    "followers": 0
  },
  "_downloads": {
    "count": 773,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RTL"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/risktoollib/rtl",
  "_searchresults": 452,
  "_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",
    "LICENSE",
    "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.839829865628982,
  "_indexed": true,
  "_nocasepkg": "rtl",
  "_universes": [
    "risktoollib"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-06-23T10:24:46.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "f05ef111f5bb60af7beb086885401a30149fd89331aa0d64a042d50f067d6c5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-06-23T10:25:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "b41218163bc890a61fa5651bdca6449de151e4591718746d6ded57dc586ea2be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-06-23T10:24:27.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "41e67c52d5d131b9f4677bdca9495f33868365c84b6f0dc70c9f7635b7601f2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-06-23T10:24:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "e2a967fe939f58a16540d33e3214040e607791d8a8b59930b34f74f550c607aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-06-23T10:24:27.000Z",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "45b1dd6a4d311e22a79ed8f26222b2e2f2798ce9cee066ecc9f0a82e79a67af6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-06-23T10:27:46.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "04f64f694cbe44496887c9105b76c12fe9d14b330b6a2dde981a7c406eec6cd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-06-23T10:23:37.000Z",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "39739e92c29b360527c15a6eefa9b883096ab63bad01d37d9b2a5bf106e939db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-06-23T10:25:08.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "67adbb8902d5dd688bf4acc133b252560f369717b0eba8d332f5550bcad53070",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.9",
      "date": "2026-06-23T10:24:52.000Z",
      "arch": "emscripten",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "a4963809fe429eb7761dea875bfd6895cc4a1412ce796454b58c20e82cc99f16",
      "status": "success",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-06-23T10:24:16.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "02a7f1561b8c070ab92484a032055f6b98311f47d32c30cacf6db90c3b22984f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-06-23T10:23:17.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "6f543809028cc216583c38f19e56b8156f1839b10f20013d4d85fd27892f0d66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-06-23T10:23:33.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "90bf8e082bff1b0f72cae3fa8022ca4e0e89aa1bd25a141a17ce577ea788484e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/28019048493"
    }
  ]
}