{
  "_id": "6a50b2e289c83ec243a2fc38",
  "Package": "portfolio",
  "Title": "Analysing Equity Portfolios",
  "Version": "0.5-2",
  "Date": "2021-07-09",
  "Authors@R": "c(\nperson(\n\"Jeff\",\n\"Enos\",\nrole=\"aut\",\nemail=\"jeff@kanecap.com\"),\nperson(\n\"David\",\n\"Kane\",\nrole=\"aut\",\nemail=\"dave@kanecap.com\"),\nperson(\n\"Daniel\",\n\"Gerlanc\",\nrole=c(\"aut\", \"cre\"),\nemail=\"dan@gerlanc.com\"),\nperson(\n\"Kyle\",\n\"Campbell\",\nrole=\"ctb\",\nemail=\"Kyle.W.Campbell@williams.edu\"))",
  "Description": "Classes for analysing and implementing equity portfolios,\nincluding routines for generating tradelists and calculating\nexposures to user-specified risk factors.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/dgerlanc/portfolio",
  "BugReports": "https://github.com/dgerlanc/portfolio/issues",
  "LazyLoad": "yes",
  "Repository": "https://dgerlanc.r-universe.dev",
  "Date/Publication": "2024-08-19 02:19:26 UTC",
  "RemoteUrl": "https://github.com/dgerlanc/portfolio",
  "RemoteRef": "HEAD",
  "RemoteSha": "1181b1266d4429ea181811d40898d64dc9150010",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-10 08:49:37 UTC",
    "User": "root"
  },
  "Author": "Jeff Enos [aut],\nDavid Kane [aut],\nDaniel Gerlanc [aut, cre],\nKyle Campbell [ctb]",
  "Maintainer": "Daniel Gerlanc <dan@gerlanc.com>",
  "_user": "dgerlanc",
  "_type": "src",
  "_file": "portfolio_0.5-2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9f9c8db08aa1798f4c1aef1661bc84971ac3189423cc4b0ec7395507d38fc5be",
  "_filesize": 1798352,
  "_sha256": "9f9c8db08aa1798f4c1aef1661bc84971ac3189423cc4b0ec7395507d38fc5be",
  "_expires": "2026-10-18T08:52:49.000Z",
  "_created": "2026-07-10T08:49:37.000Z",
  "_published": "2026-07-10T08:52:50.879Z",
  "_jobs": [
    {
      "job": 86323672072,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8222803685"
    },
    {
      "job": 86323672084,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8222807534"
    },
    {
      "job": 86323672058,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8222807591"
    },
    {
      "job": 86323672111,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8222804484"
    },
    {
      "job": 86323135650,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8222749425"
    },
    {
      "job": 86323672032,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8222785277"
    },
    {
      "job": 86323672036,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8222783795"
    },
    {
      "job": 86323672073,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8222783846"
    },
    {
      "job": 86323672071,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8222785592"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766",
  "_status": "success",
  "_upstream": "https://github.com/dgerlanc/portfolio",
  "_commit": {
    "id": "1181b1266d4429ea181811d40898d64dc9150010",
    "author": "Dan Gerlanc <dan@dottxt.co>",
    "committer": "Dan Gerlanc <dan@dottxt.co>",
    "message": "Add a .Rbuildignore file\n",
    "time": 1724033966
  },
  "_maintainer": {
    "name": "Daniel Gerlanc",
    "email": "dan@gerlanc.com",
    "login": "dgerlanc",
    "mastodon": "@dgerlanc@fosstodon.org",
    "bluesky": "@dgerlanc.bsky.social",
    "linkedin": "in/dgerlanc",
    "description": "Fractional VP of Engineering for AI teams\nHost of Agents and Engineers podcast",
    "uuid": 892459
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Depends"
    },
    {
      "package": "grid",
      "role": "Depends"
    },
    {
      "package": "lattice",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "dgerlanc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "finance",
    "portfolio-construction",
    "risk-modelling"
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "dgerlanc",
      "count": 20,
      "uuid": 892459
    }
  ],
  "_userbio": {
    "uuid": 892459,
    "type": "user",
    "name": "Dan Gerlanc",
    "followers": 112,
    "description": "Fractional VP of Engineering for AI teams\r\nHost of Agents and Engineers podcast"
  },
  "_downloads": {
    "count": 366,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/portfolio"
  },
  "_devurl": "https://github.com/dgerlanc/portfolio",
  "_searchresults": 197,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/portfolio.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dgerlanc/portfolio",
  "_realowner": "dgerlanc",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2005-11-17"
    },
    {
      "version": "0.2-0",
      "date": "2006-01-05"
    },
    {
      "version": "0.2-1",
      "date": "2006-04-13"
    },
    {
      "version": "0.2-2",
      "date": "2006-06-19"
    },
    {
      "version": "0.3-0",
      "date": "2006-10-02"
    },
    {
      "version": "0.3-1",
      "date": "2006-10-04"
    },
    {
      "version": "0.3-2",
      "date": "2007-01-09"
    },
    {
      "version": "0.3-3",
      "date": "2007-01-17"
    },
    {
      "version": "0.4-0",
      "date": "2007-04-23"
    },
    {
      "version": "0.4-1",
      "date": "2007-10-02"
    },
    {
      "version": "0.4-3",
      "date": "2008-04-22"
    },
    {
      "version": "0.4-4",
      "date": "2008-11-02"
    },
    {
      "version": "0.4-5",
      "date": "2012-07-23"
    },
    {
      "version": "0.4-6",
      "date": "2013-07-09"
    },
    {
      "version": "0.4-7",
      "date": "2015-01-29"
    },
    {
      "version": "0.5-0",
      "date": "2020-03-14"
    },
    {
      "version": "0.5-2",
      "date": "2021-07-10"
    },
    {
      "version": "0.5-3",
      "date": "2024-08-26"
    }
  ],
  "_exports": [
    "all.equal",
    "balance",
    "calcShares",
    "calcWeights",
    "contribution",
    "create",
    "expandData",
    "expose",
    "exposure",
    "getYahooData",
    "initialize",
    "map.market",
    "mapMarket",
    "matching",
    "performance",
    "plot",
    "portfolioDiff",
    "scaleWeights",
    "securityInfo",
    "show",
    "summary",
    "updatePrices",
    "weight"
  ],
  "_datasets": [
    {
      "name": "assay",
      "title": "Assay Research rankings as of 2004-12-31",
      "object": "assay",
      "file": "assay.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "id",
        "symbol",
        "name",
        "country",
        "currency",
        "price",
        "sector",
        "sec",
        "ind",
        "liq",
        "on.fl",
        "ret.0.1.m",
        "ret.0.3.m",
        "ret.0.6.m",
        "ret.1.0.m",
        "ret.6.0.m",
        "ret.12.0.m",
        "mn.dollar.volume.20.d",
        "md.dollar.volume.120.d",
        "cap.usd",
        "cap",
        "sales",
        "net.income",
        "common.equity"
      ],
      "rows": 4000,
      "table": true,
      "tojson": true
    },
    {
      "name": "dow.jan.2005",
      "title": "DJIA for January, 2005",
      "object": "dow.jan.2005",
      "file": "dow.jan.2005.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "symbol",
        "name",
        "price",
        "sector",
        "cap.bil",
        "month.ret"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "global.2004",
      "title": "Security data of large global companies for 2004",
      "object": "global.2004",
      "file": "global.2004.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "id",
        "symbol",
        "name",
        "country",
        "currency",
        "cap",
        "cap.usd",
        "price",
        "price.usd",
        "round.lot",
        "sector",
        "liquidity",
        "volume",
        "avg.volume",
        "ret.0.1.m",
        "cap.bil",
        "liq.w"
      ],
      "rows": 6000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "portfolio-package",
      "title": "Analysing equity portfolios",
      "topics": [
        "portfolio-package",
        "portfolio"
      ]
    },
    {
      "page": "assay",
      "title": "Assay Research rankings as of 2004-12-31",
      "topics": [
        "assay"
      ]
    },
    {
      "page": "contribution-class",
      "title": "Class \"contribution\"",
      "topics": [
        "contribution-class",
        "plot,contribution,missing-method",
        "show,contribution-method",
        "summary,contribution-method"
      ]
    },
    {
      "page": "dow.jan.2005",
      "title": "DJIA for January, 2005",
      "topics": [
        "dow.jan.2005"
      ]
    },
    {
      "page": "exposure-class",
      "title": "Class \"exposure\"",
      "topics": [
        "exposure-class",
        "plot,exposure,missing-method",
        "show,exposure-method",
        "summary,exposure-method"
      ]
    },
    {
      "page": "global.2004",
      "title": "Security data of large global companies for 2004",
      "topics": [
        "global.2004"
      ]
    },
    {
      "page": "map.market",
      "title": "Create a Map of the Market",
      "topics": [
        "map.market"
      ]
    },
    {
      "page": "matchedPortfolio-class",
      "title": "Class \"matchedPortfolio\"",
      "topics": [
        "contribution,matchedPortfolio,character-method",
        "exposure,matchedPortfolio,character-method",
        "matchedPortfolio-class",
        "performance,matchedPortfolio-method",
        "plot,matchedPortfolio,missing-method",
        "show,matchedPortfolio-method",
        "summary,matchedPortfolio-method"
      ]
    },
    {
      "page": "matchedPortfolioCollection-class",
      "title": "Class \"matchedPortfolioCollection\"",
      "topics": [
        "matchedPortfolioCollection-class",
        "matching,data.frame-method",
        "plot,matchedPortfolioCollection,missing-method",
        "summary,matchedPortfolioCollection-method"
      ]
    },
    {
      "page": "performance-class",
      "title": "Class \"performance\"",
      "topics": [
        "initialize,performance-method",
        "performance-class",
        "plot,performance,missing-method",
        "show,performance-method",
        "summary,performance-method"
      ]
    },
    {
      "page": "portfolio-class",
      "title": "Class \"portfolio\"",
      "topics": [
        "+,portfolio,portfolio-method",
        "all.equal,portfolio,portfolio-method",
        "calcShares",
        "calcShares,portfolio-method",
        "calcWeights",
        "calcWeights,portfolio-method",
        "contribution,portfolio,character-method",
        "create,portfolio-method",
        "expandData",
        "expandData,portfolio-method",
        "expose",
        "expose,portfolio,trades-method",
        "getYahooData",
        "getYahooData,portfolio,character-method",
        "initialize,portfolio-method",
        "performance,portfolio-method",
        "portfolio-class",
        "portfolioDiff,portfolio,portfolio-method",
        "portfolioOrNull-class",
        "securityInfo",
        "securityInfo,portfolio,character-method",
        "summary,portfolio-method",
        "updatePrices",
        "updatePrices,portfolio,character,numeric-method"
      ]
    },
    {
      "page": "portfolioBasic-class",
      "title": "Class \"portfolioBasic\"",
      "topics": [
        "+,portfolioBasic,portfolioBasic-method",
        "all.equal,portfolioBasic,portfolioBasic-method",
        "balance",
        "balance,portfolioBasic,character-method",
        "contribution",
        "contribution,portfolioBasic,character-method",
        "create",
        "create,portfolioBasic-method",
        "exposure",
        "exposure,portfolioBasic,character-method",
        "initialize,portfolioBasic-method",
        "mapMarket",
        "mapMarket,portfolioBasic-method",
        "matching",
        "matching,portfolioBasic-method",
        "performance",
        "performance,portfolioBasic-method",
        "plot,portfolioBasic,missing-method",
        "portfolioBasic-class",
        "portfolioBasicOrNull-class",
        "portfolioDiff",
        "portfolioDiff,portfolioBasic,portfolioBasic-method",
        "scaleWeights",
        "scaleWeights,portfolioBasic-method",
        "show,portfolioBasic-method",
        "summary,portfolioBasic-method"
      ]
    },
    {
      "page": "tradelist-class",
      "title": "Class \"tradelist\"",
      "topics": [
        "actualCols,tradelist-method",
        "calcActual,tradelist-method",
        "calcCandidates,tradelist,portfolio,portfolio-method",
        "calcChunks,tradelist-method",
        "calcChunksActual,tradelist-method",
        "calcRanks,tradelist-method",
        "calcSwaps,tradelist-method",
        "calcSwapsActual,tradelist-method",
        "candidatesCols,tradelist-method",
        "chunksCols,tradelist-method",
        "dummyChunks,tradelist-method",
        "initialize,tradelist-method",
        "ranksCols,tradelist-method",
        "restrictedCols,tradelist-method",
        "securityInfo,tradelist,character-method",
        "show,tradelist-method",
        "tradelist",
        "tradelist-class",
        "trimSide,tradelist-method"
      ]
    },
    {
      "page": "trades-class",
      "title": "Class \"trades\"",
      "topics": [
        "trades-class"
      ]
    },
    {
      "page": "weight",
      "title": "Calculate Position Weights",
      "topics": [
        "weight"
      ]
    }
  ],
  "_readme": "https://github.com/dgerlanc/portfolio/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "nlme"
  ],
  "_vignettes": [
    {
      "source": "matching_portfolio.Rnw",
      "filename": "matching_portfolio.pdf",
      "title": "Matching Portfolios",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2020-03-10 02:09:28",
      "modified": "2020-03-10 02:09:28",
      "commits": 1
    },
    {
      "source": "portfolio.Rnw",
      "filename": "portfolio.pdf",
      "title": "Using the portfolio package",
      "engine": "utils::Sweave",
      "headings": [
        "Analysing equity portfolios in R"
      ],
      "created": "2020-03-10 02:09:28",
      "modified": "2020-03-10 02:09:28",
      "commits": 1
    },
    {
      "source": "tradelist.Rnw",
      "filename": "tradelist.pdf",
      "title": "Using the tradelist class",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2020-03-10 02:09:28",
      "modified": "2020-03-10 02:09:28",
      "commits": 1
    }
  ],
  "_score": 6.701006406595548,
  "_indexed": true,
  "_nocasepkg": "portfolio",
  "_universes": [
    "dgerlanc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-2",
      "date": "2026-07-10T08:51:46.000Z",
      "distro": "resolute",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/0f6db8c254a8d4e677174c33f306a935a105430c59a026bd797de6d9f86249f6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-2",
      "date": "2026-07-10T08:52:02.000Z",
      "distro": "resolute",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/480b12fcaaab52f038c9bb879bd1a48219e6f1b5c1eb8f8d9067894a40e358c7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-2",
      "date": "2026-07-10T08:52:01.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/d4df7f096da25d7485e3e84ffb7f96e7aff6c1077e04e6df9982e482b7930520",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5-2",
      "date": "2026-07-10T08:51:50.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/199a8a90cf9f2a7b8db09a7bab2750c6ec5f030b24aecdd53b8d34644c5536a1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-2",
      "date": "2026-07-10T08:51:28.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/566ef54a5c0a8cf0cb2fa4b066cb5cef25680af0ac36b341309a7735946512dc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-07-10T08:50:46.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/ea12865c7d367392e11faf6b56ed920e4d1f0a459eb5132671388f96d5991cdc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-07-10T08:50:44.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/117d3b52a2a5c0caf3ff56fdf006f3f4ae95cad10059a251759b4f4683a68d84",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-07-10T08:50:50.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/63e94d5bf0fba3dde2ab53af80bc1929fb59da95ac36d1ef067d02bc34241662",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/29080845766"
    }
  ]
}