{
  "_id": "6a1f1cd5b401979e7341f9bf",
  "Package": "backtestGraphics",
  "Type": "Package",
  "Title": "Interactive Graphics for Portfolio Data",
  "Description": "Creates an interactive graphics interface to visualize\nbacktest results of different financial instruments, such as\nequities, futures, and credit default swaps. The package does\nnot run backtests on the given data set but displays a\ngraphical explanation of the backtest results. Users can look\nat backtest graphics for different instruments, investment\nstrategies, and portfolios. Summary statistics of different\nportfolio holdings are shown in the left panel, and interactive\nplots of profit and loss (P&L), net market value (NMV) and\ngross market value (GMV) are displayed in the right panel.",
  "Version": "0.1.8",
  "Date": "2025-01-02",
  "Authors@R": "c(\nperson(given = \"Yanrong\",\nfamily = \"Song\",\nrole = c(\"aut\", \"cre\"),\nemail = \"yrsong129@gmail.com\"),\nperson(given = \"Zijie\",\nfamily = \"Zhu\",\nrole = \"aut\",\nemail = \"zijie.miller.zhu@gmail.com\"),\nperson(given = \"David\",\nfamily = \"Kane\",\nrole = \"aut\",\nemail = \"dave.kane@gmail.com\"),\nperson(given = \"Ziqi\",\nfamily = \"Lu\",\nrole = \"aut\",\nemail = \"ziqilu@g.harvard.edu\"),\nperson(given = \"Karan\",\nfamily = \"Tibrewal\",\nrole = \"aut\",\nemail = \"karan.tibrewal@williams.edu\"),\nperson(given = \"Fan\",\nfamily = \"Zhang\",\nrole = \"aut\",\nemail = \"fan.zhang@williams.edu\")\n)",
  "License": "GPL-3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:49:29 UTC",
    "User": "root"
  },
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://yanrong-stacy-song.r-universe.dev",
  "Date/Publication": "2025-02-18 21:32:52 UTC",
  "RemoteUrl": "https://github.com/yanrong-stacy-song/backtestgraphics",
  "RemoteRef": "HEAD",
  "RemoteSha": "3af9209ed40d8665a5bb50828fd143e1a154982b",
  "Author": "Yanrong Song [aut, cre],\nZijie Zhu [aut],\nDavid Kane [aut],\nZiqi Lu [aut],\nKaran Tibrewal [aut],\nFan Zhang [aut]",
  "Maintainer": "Yanrong Song <yrsong129@gmail.com>",
  "MD5sum": "85a251ff6b9af8b5bfd1e5ef4b56ad68",
  "_user": "yanrong-stacy-song",
  "_type": "src",
  "_file": "backtestGraphics_0.1.8.tar.gz",
  "_fileid": "9f2c519428bdd26e3461371047202dd192463d03225f0cf1d12e1b9ef5017ac3",
  "_filesize": 2129237,
  "_sha256": "9f2c519428bdd26e3461371047202dd192463d03225f0cf1d12e1b9ef5017ac3",
  "_created": "2026-05-16T08:49:29.000Z",
  "_published": "2026-06-02T18:11:33.950Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79140099934,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7032097236"
    },
    {
      "job": 79140099667,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7032094581"
    },
    {
      "job": 79140100074,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7032097116"
    },
    {
      "job": 79140099783,
      "time": 224,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7032100342"
    },
    {
      "job": 79140098738,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032081465"
    },
    {
      "job": 79140098713,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366077025"
    },
    {
      "job": 79140099454,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7032091584"
    },
    {
      "job": 79140099588,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7032092954"
    },
    {
      "job": 79140099581,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7032090374"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yanrong-stacy-song/backtestgraphics",
  "_commit": {
    "id": "3af9209ed40d8665a5bb50828fd143e1a154982b",
    "author": "knightsay <yrsong129@gmail.com>",
    "committer": "knightsay <yrsong129@gmail.com>",
    "message": "fix for RJ\n",
    "time": 1739914372
  },
  "_maintainer": {
    "name": "Yanrong Song",
    "email": "yrsong129@gmail.com",
    "login": "yanrong-stacy-song",
    "uuid": 48292717
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dygraphs",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "yanrong-stacy-song",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yanrong-stacy-song",
      "count": 32,
      "uuid": 48292717
    }
  ],
  "_userbio": {
    "uuid": 48292717,
    "type": "user",
    "name": "yanrong_s"
  },
  "_downloads": {
    "count": 257,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/backtestGraphics"
  },
  "_devurl": "https://github.com/yanrong-stacy-song/backtestgraphics",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/backtestGraphics.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yanrong-stacy-song/backtestgraphics",
  "_realowner": "yanrong-stacy-song",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-3",
      "date": "2015-08-11"
    },
    {
      "version": "0.1.4",
      "date": "2015-08-12"
    },
    {
      "version": "0.1.5",
      "date": "2015-08-13"
    },
    {
      "version": "0.1.6",
      "date": "2015-10-21"
    },
    {
      "version": "0.1.7",
      "date": "2024-12-20"
    },
    {
      "version": "0.1.8",
      "date": "2025-01-08"
    }
  ],
  "_exports": [
    "backtestGraphics"
  ],
  "_datasets": [
    {
      "name": "commodity",
      "title": "Commodity Futures Data from 2003 to 2005.",
      "object": "commodity",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "id",
        "date",
        "sector",
        "portfolio",
        "strategy",
        "substrategy",
        "gmv",
        "nmv",
        "pnl",
        "contract"
      ],
      "rows": 63382,
      "table": true,
      "tojson": true
    },
    {
      "name": "credit",
      "title": "Credit Default Swap Data from 2007 to 2009.",
      "object": "credit",
      "class": [
        "tbl_df",
        "data.frame"
      ],
      "fields": [
        "name",
        "date",
        "sector",
        "strategy",
        "gmv",
        "nmv",
        "pnl"
      ],
      "rows": 60382,
      "table": true,
      "tojson": true
    },
    {
      "name": "equity",
      "title": "Equity Data from 2005 to 20014.",
      "object": "equity",
      "class": [
        "tbl_df",
        "data.frame"
      ],
      "fields": [
        "name",
        "date",
        "sector",
        "nmv",
        "pnl"
      ],
      "rows": 7440,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "backtestGraphics-package",
      "title": "A package to visualize backtest results",
      "topics": [
        "backtestGraphics-package"
      ]
    },
    {
      "page": "backtestGraphics",
      "title": "Interactive Backtest Graphics",
      "topics": [
        "backtestGraphics"
      ]
    },
    {
      "page": "best_worst_month",
      "title": "Find the best-performing and the worst-performing months",
      "topics": [
        "best_worst_month"
      ]
    },
    {
      "page": "best_worst_three",
      "title": "Find the three best-performing and worst-performing commodities",
      "topics": [
        "best_worst_three"
      ]
    },
    {
      "page": "calc_pnl",
      "title": "Calculate cumulative pnl, mean pnl, dollar sharpe ratio",
      "topics": [
        "calc_pnl"
      ]
    },
    {
      "page": "cleanup_column",
      "title": "Clean up the input data set",
      "topics": [
        "cleanup_column"
      ]
    },
    {
      "page": "commodity",
      "title": "Commodity Futures Data from 2003 to 2005.",
      "topics": [
        "commodity"
      ]
    },
    {
      "page": "create_instrument_optGroups",
      "title": "Create opt group list for selectizeInput for instruments",
      "topics": [
        "create_instrument_optGroups"
      ]
    },
    {
      "page": "create_strategy_optGroups",
      "title": "Create opt group list for selectizeInput for strategies",
      "topics": [
        "create_strategy_optGroups"
      ]
    },
    {
      "page": "credit",
      "title": "Credit Default Swap Data from 2007 to 2009.",
      "topics": [
        "credit"
      ]
    },
    {
      "page": "cumpnl_plot",
      "title": "Draw an interactive line plot for cumulative P&L",
      "topics": [
        "cumpnl_plot"
      ]
    },
    {
      "page": "drawdown",
      "title": "The Three Biggest Drawdowns in the portfolio",
      "topics": [
        "drawdown"
      ]
    },
    {
      "page": "equity",
      "title": "Equity Data from 2005 to 20014.",
      "topics": [
        "equity"
      ]
    },
    {
      "page": "interactive_plot",
      "title": "Interactive plot with dygraph",
      "topics": [
        "interactive_plot"
      ]
    },
    {
      "page": "next_trading_day",
      "title": "Next trading day",
      "topics": [
        "next_trading_day"
      ]
    },
    {
      "page": "slice_data",
      "title": "Slice Data Set",
      "topics": [
        "slice_data"
      ]
    },
    {
      "page": "stat_calculation",
      "title": "Calculate Statistics",
      "topics": [
        "stat_calculation"
      ]
    },
    {
      "page": "sum_data",
      "title": "Summarize data for the overall portfolio",
      "topics": [
        "sum_data"
      ]
    },
    {
      "page": "trade_freq",
      "title": "Find Trading Frequency",
      "topics": [
        "trade_freq"
      ]
    }
  ],
  "_readme": "https://github.com/yanrong-stacy-song/backtestgraphics/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "digest",
    "dplyr",
    "dygraphs",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xtable",
    "xts",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "backtestGraphics.Rnw",
      "filename": "backtestGraphics.pdf",
      "title": "backtestGraphics",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2024-12-14 22:15:05",
      "modified": "2025-02-18 21:32:52",
      "commits": 10
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "backtestgraphics",
  "_universes": [
    "yanrong-stacy-song"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-16T08:51:45.000Z",
      "distro": "noble",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "50d3483d36a0dbab09841320d34a1da0b517152dae720b33566a6ea539f1a981",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-16T08:51:22.000Z",
      "distro": "noble",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "03f500dae728a40ac083d924768e420079dc8137982c0b1a40f2cf1d8201d263",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-16T08:51:51.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "4440ecea22bf04d09f65a74420e23d80a1b3cd16c9521d09151c5b822e21d90d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-16T08:52:12.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "bb4aa93b7f2271b25c6a636dd95bcba4401d2a0cd573cc6045a0ff5f6b85e914",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-16T08:50:44.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "19f014ca4e59fdd31c45c31c87cc7f0828aca812e809fefe62e553144495f2d2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-16T08:51:01.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "6651d071e25f50d3e1c8f6e8e78d64a6a64c8e804ca60eaf20ee474ecc7fe07a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-16T08:50:34.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "c4938e8a6c25eddbb0479e77b517649b894579fd9e6b0edaae8a7484cd58fae5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-06-02T18:11:11.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "2b070b6f7e82d288cc4d819d4dfda258b297cf3604eb1b2c5f6781425bdf8420",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/25957677744"
    }
  ]
}