{
  "_id": "6a61cf96768d0b54cfc78d9b",
  "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-07-23 07:58:37 UTC",
    "User": "root"
  },
  "Author": "Philippe Cote [aut, cre],\nNima Safaian [aut]",
  "Maintainer": "Philippe Cote <pcote@ualberta.ca>",
  "_user": "risktoollib",
  "_type": "src",
  "_file": "RTL_1.3.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/e223a43f5e7f3516f599368d5c1f4ca63e8d2db54330b0750b30dde9d94b4757",
  "_filesize": 3767063,
  "_sha256": "e223a43f5e7f3516f599368d5c1f4ca63e8d2db54330b0750b30dde9d94b4757",
  "_expires": "2026-10-31T08:23:48.000Z",
  "_created": "2026-07-23T07:58:37.000Z",
  "_published": "2026-07-23T08:23:50.398Z",
  "_jobs": [
    {
      "job": 89149934589,
      "time": 197,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8556651216"
    },
    {
      "job": 89149934532,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8556656414"
    },
    {
      "job": 89149934568,
      "time": 187,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8556647624"
    },
    {
      "job": 89149934518,
      "time": 230,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8556662741"
    },
    {
      "job": 89149934596,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8556644645"
    },
    {
      "job": 89149934567,
      "time": 481,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8556739422"
    },
    {
      "job": 89149934602,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8556639358"
    },
    {
      "job": 89149934586,
      "time": 403,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8556714532"
    },
    {
      "job": 89149230854,
      "time": 271,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8556581937"
    },
    {
      "job": 89149934499,
      "time": 196,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8556650134"
    },
    {
      "job": 89149934501,
      "time": 326,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8556695849"
    },
    {
      "job": 89149934528,
      "time": 323,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8556694727"
    },
    {
      "job": 89149934500,
      "time": 270,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8556676939"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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-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": 513,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RTL"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/risktoollib/rtl",
  "_searchresults": 452,
  "_rbuild": "4.6.1",
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 7.7886773431816,
  "_indexed": true,
  "_nocasepkg": "rtl",
  "_universes": [
    "risktoollib"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-07-23T08:01:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/62b224b6ea97212a80dff707f41e48b5e6f66885bf06e9afcd06dca05b83f4c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-07-23T08:01:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/618bd64e4526de9e2287574c7748c07137f810ba19a4de3ce7b44fd8d3d98823",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-07-23T08:01:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/169eaf2320b2bcea8386955da18a10ca046a42e91e50f600cdd484fbb8e5d66f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.9",
      "date": "2026-07-23T08:02:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/4bac03e3b9d90611583851a9e15c9ac13b846cda66d51a6ba585cfca2a4eaa89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-07-23T08:01:28.000Z",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/d0dac458ca38d3e339e757d96ba371f485711ff974833cb786b66cacf21d06ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-07-23T08:04:47.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/ecae497db227e53477d04a929788ae8261f6841b45c9a6023f056c74868064a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-07-23T08:01:10.000Z",
      "arch": "aarch64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/b4668574fce86c3a86374ca621b350878c63ff95400d642d4ae58abe30eacd02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.9",
      "date": "2026-07-23T08:03:42.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/ea787dad86444d7f269315d3ef9c02e21e77984470d5d592ed2ea5cf348227c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.9",
      "date": "2026-07-23T08:02:11.000Z",
      "arch": "emscripten",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/07dd082baa8a38f9391eb81afe1fcee1b88e219b680c7cf0fe25116890020f0f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-07-23T08:03:01.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/89e2e32ebb32e84ad47dc90944514975f121a53af4591b93263418ae52f296ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-07-23T08:03:01.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/47689dfdde1bec83ed52aadd983c26b729dd9acdfde87eb001398d00fc867a9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.9",
      "date": "2026-07-23T08:02:49.000Z",
      "arch": "x86_64",
      "commit": "6fce9108d11ab3cb5db96e32c7742a105edb06b3",
      "fileid": "https://r2.ropensci.org/db5abcb5fbbd21f316757a1eb4555fa161e7be5be826f4d897f47c23c21d1122",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/risktoollib/actions/runs/29989607222"
    }
  ]
}