{
  "_id": "6acf4a38d9de2f3f33fca44d",
  "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-10-14 08:35:38 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>",
  "_user": "yanrong-stacy-song",
  "_type": "src",
  "_file": "backtestGraphics_0.1.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/53e6a43a9d9aebbd639ad1689ec761b6a6658855925bd3698e72aaea6b530c05",
  "_filesize": 2130611,
  "_sha256": "53e6a43a9d9aebbd639ad1689ec761b6a6658855925bd3698e72aaea6b530c05",
  "_expires": "2027-01-22T09:24:05.000Z",
  "_created": "2026-10-14T08:35:38.000Z",
  "_published": "2026-10-14T09:24:07.906Z",
  "_buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115759718670,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11880700320"
    },
    {
      "job": 115759718554,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11880640315"
    },
    {
      "job": 115759718588,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11881914892"
    },
    {
      "job": 115759718482,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11882423017"
    },
    {
      "job": 115758315117,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11879369499"
    },
    {
      "job": 115759718619,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11879914563"
    },
    {
      "job": 115759718439,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11880282058"
    },
    {
      "job": 115759718637,
      "time": 79,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11880750114"
    },
    {
      "job": 115759718502,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11879833898"
    }
  ],
  "_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",
    "description": "",
    "uuid": 48292717
  },
  "_distro": "resolute",
  "_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",
    "followers": 0
  },
  "_downloads": {
    "count": 363,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/backtestGraphics"
  },
  "_devurl": "https://github.com/yanrong-stacy-song/backtestgraphics",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/backtestGraphics.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": [
        "Backtest Graphics"
      ],
      "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-10-14T08:38:05.000Z",
      "distro": "resolute",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/62fc5b393cfbba7bd21fd3b627ad021b6299873632ba661f857e1946fc98528a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-14T08:37:40.000Z",
      "distro": "resolute",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/6f8db5e291ce8f8d243b7b6dc76e715cfc7af1f8c5ddf9db403fe45904b116a4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-14T09:23:28.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/49a1acb11451e83c1661851a5e49082b3611ed492345e4dc1198962e95951278",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-14T09:23:23.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/cefcb17192ff14e085c8a57d618f621b300fdda4850ff69569fe6cf879cc46c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-10-14T08:37:38.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/97c14602df1e992d34e4a45c11ee23e3a1a2efa0f74c3717b6a1be386442a171",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-14T08:36:47.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/8332e434906cd0bcb70edbae7d2b5631e33a466b176b6d12efdf48c8b7aad810",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-14T08:36:44.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/a415d70587bbf7d3eab7b7045ffbab7168f9cc8112e001a38ab62a78797586f3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-14T08:36:52.000Z",
      "commit": "3af9209ed40d8665a5bb50828fd143e1a154982b",
      "fileid": "https://r2.ropensci.org/2bc43fb9fef10130b2ebae26f645ba96cf0a8c7d66fd1429ee42999d70c7ae3e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38535785010"
    }
  ]
}