{
  "_id": "6a10438cacfb0bcc41c9df90",
  "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-05-11 06:50:57 UTC",
    "User": "root"
  },
  "Author": "Jeff Enos [aut],\nDavid Kane [aut],\nDaniel Gerlanc [aut, cre],\nKyle Campbell [ctb]",
  "Maintainer": "Daniel Gerlanc <dan@gerlanc.com>",
  "MD5sum": "7d38b28c94f91cacfaa13a6d5ebe0042",
  "_user": "dgerlanc",
  "_type": "src",
  "_file": "portfolio_0.5-2.tar.gz",
  "_fileid": "88f41d0bcf22bd3b46ce67da91080ed44f5a29e3bace59e7da15bd5987547507",
  "_filesize": 1797437,
  "_sha256": "88f41d0bcf22bd3b46ce67da91080ed44f5a29e3bace59e7da15bd5987547507",
  "_created": "2026-05-11T06:50:57.000Z",
  "_published": "2026-05-22T11:52:44.975Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374092549,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6912026126"
    },
    {
      "job": 77374092955,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6912026249"
    },
    {
      "job": 77374092707,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6912042659"
    },
    {
      "job": 77374092532,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6912034276"
    },
    {
      "job": 77374092637,
      "time": 230,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911996223"
    },
    {
      "job": 77374092267,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159823091"
    },
    {
      "job": 77374092684,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6912023095"
    },
    {
      "job": 77374092921,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6912018328"
    },
    {
      "job": 77374092604,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6912016457"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 892459
  },
  "_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",
    "description": "Fraction VP of Engineering for AI teams, teaching at abilezi.com"
  },
  "_downloads": {
    "count": 269,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/portfolio"
  },
  "_devurl": "https://github.com/dgerlanc/portfolio",
  "_searchresults": 109,
  "_rbuild": "4.6.0",
  "_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": [],
      "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.443966678374579,
  "_indexed": true,
  "_nocasepkg": "portfolio",
  "_universes": [
    "dgerlanc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-2",
      "date": "2026-05-11T06:52:44.000Z",
      "distro": "noble",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "a80dde74da8a0027931a6caaa19cf4c3df830961d42b1ea109331807affa90d7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-2",
      "date": "2026-05-11T06:52:48.000Z",
      "distro": "noble",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "67f624cd89b10bc30cd91b60fef52959f2105486e7e108429bff1e6d08c33ea9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-2",
      "date": "2026-05-11T06:54:06.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "2a81b2286f2e79a7cc60b716f3c58bf6d45414e028219fda517c6b571c0ba4c6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5-2",
      "date": "2026-05-11T06:53:29.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "91f62283aa5ff7679d349ff1c597f0631ef9381467f0aa4e8a74e3902f5846c4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-05-11T06:52:27.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "42f5783cec5ba66cec76e50c4f46d0245d7a109afd621124e7b21668248b3274",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-05-11T06:52:05.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "b9df8968abc8c46111a740bfa0b9ba7d34134578d112bde84b222590a67cf98c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5-2",
      "date": "2026-05-11T06:51:59.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "9fcabfd471612250e2618bfbd29a25a288d84780e7c588fad53ffbb9b2fc4875",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-2",
      "date": "2026-05-22T11:52:31.000Z",
      "commit": "1181b1266d4429ea181811d40898d64dc9150010",
      "fileid": "a1f85d5b7f00346fb68bfd029ddf5d9714f17a63e4bcae12195534597e104f1f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dgerlanc/actions/runs/25654763834"
    }
  ]
}