{
  "_id": "6ac7754bde46216d5edd0320",
  "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-10-08 09:56:03 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/c08b629c52d10f463db8aae09be5f2a4ca93321c44b61ca3fa4dc6ed52ac00e4",
  "_filesize": 1798123,
  "_sha256": "c08b629c52d10f463db8aae09be5f2a4ca93321c44b61ca3fa4dc6ed52ac00e4",
  "_expires": "2027-01-16T10:49:45.000Z",
  "_created": "2026-10-08T09:56:03.000Z",
  "_published": "2026-10-08T10:49:47.510Z",
  "_buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113254189217,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11542141045"
    },
    {
      "job": 113254189300,
      "time": 105,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11542056225"
    },
    {
      "job": 113254189404,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11544013021"
    },
    {
      "job": 113254189389,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11543654316"
    },
    {
      "job": 113253154235,
      "time": 162,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11541846999"
    },
    {
      "job": 113254189316,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11541259426"
    },
    {
      "job": 113254189247,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11542220823"
    },
    {
      "job": 113254189267,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11541464202"
    },
    {
      "job": 113254189365,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11541264881"
    }
  ],
  "_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": 114,
    "description": "Fractional VP of Engineering for AI teams\r\nHost of Agents and Engineers podcast"
  },
  "_downloads": {
    "count": 391,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/portfolio"
  },
  "_devurl": "https://github.com/dgerlanc/portfolio",
  "_searchresults": 195,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/portfolio.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.696574791796474,
  "_indexed": true,
  "_nocasepkg": "portfolio",
  "_universes": [
    "dgerlanc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-2",
      "date": "2026-10-08T09:57:44.000Z",
      "distro": "resolute",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/2502454413ab12f952b86616edf14d4f3cf143ae4080917fc021421c7ab6ec3a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-2",
      "date": "2026-10-08T09:57:40.000Z",
      "distro": "resolute",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/f2ecb9766cbe865689723fcbc2770b1d9a8cc6a341b000f0d9b7faf5f46d0bfd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-2",
      "date": "2026-10-08T10:45:11.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/db641262190e4d79669aae03074a90d8b4a360a8df5dd57e36d3e27a6b18bdc0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5-2",
      "date": "2026-10-08T10:48:35.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/d1815e596263ec6ae9f63a46456548527b45dd98bf2588a267facf7ce55fe98b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-2",
      "date": "2026-10-08T09:58:01.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/c0c90e2fb0fb4ecd56ac214de9d198179ec247bcf7b292f4cd6a8d30f1e0ce41",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-10-08T09:57:08.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/7080f63809b1d25b9ad3ca073f69f65cde98bbbfd87f47336c145e73633cd430",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-10-08T09:57:11.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/cf23fe445158f60891f8bd90b48af354f34cb242741c2aa4bb51866f5c541cb6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-10-08T09:57:09.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "https://r2.ropensci.org/d185b9713b6d2f87d84ac844fd5508f87f4ec9f08eca3ef105f41fe71a09790d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/37759759886"
    }
  ]
}