{
  "_id": "6a1028b2acfb0bcc41c90ec5",
  "Package": "dispositionEffect",
  "Type": "Package",
  "Title": "Analysis of Disposition Effect on Financial Portfolios",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Lorenzo\", \"Mazzucchelli\", email = \"lorenzo.mazzucchelli@unimi.it\", role = \"aut\"),\nperson(\"Marco\", \"Zanotti\", email = \"zanottimarco17@gmail.com\", role = c(\"aut\", \"cre\")))",
  "Description": "Evaluate the presence of disposition effect and others\nirrational investor's behaviors based solely on investor's\ntransactions and financial market data. Experimental data can\nalso be used to perform the analysis. Four different\nmethodologies are implemented to account for the different\nnature of human behaviors on financial markets. Novel analyses\nsuch as portfolio driven and time series disposition effect are\nalso allowed.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "URL": "https://marcozanotti.github.io/dispositionEffect/,\nhttps://github.com/marcozanotti/dispositionEffect",
  "BugReports": "https://github.com/marcozanotti/dispositionEffect/issues",
  "Repository": "https://marcozanotti.r-universe.dev",
  "Date/Publication": "2022-05-30 07:15:16 UTC",
  "RemoteUrl": "https://github.com/marcozanotti/dispositionEffect",
  "RemoteRef": "HEAD",
  "RemoteSha": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 07:56:49 UTC",
    "User": "root"
  },
  "Author": "Lorenzo Mazzucchelli [aut],\nMarco Zanotti [aut, cre]",
  "Maintainer": "Marco Zanotti <zanottimarco17@gmail.com>",
  "MD5sum": "0cdc9bda120f2248bf0baa095ab7c039",
  "_user": "marcozanotti",
  "_type": "src",
  "_file": "dispositionEffect_1.0.1.tar.gz",
  "_fileid": "5141b65b5a08a6201351ee5cef77866ce54c484a0cce4cf546df9d0c0b73b871",
  "_filesize": 1549449,
  "_sha256": "5141b65b5a08a6201351ee5cef77866ce54c484a0cce4cf546df9d0c0b73b871",
  "_created": "2026-05-13T07:56:49.000Z",
  "_published": "2026-05-22T09:58:10.818Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77357185929,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964620387"
    },
    {
      "job": 77357185636,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964618543"
    },
    {
      "job": 77357185372,
      "time": 209,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964625938"
    },
    {
      "job": 77357185378,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964610466"
    },
    {
      "job": 77357185393,
      "time": 261,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964570865"
    },
    {
      "job": 77357185096,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157802768"
    },
    {
      "job": 77357185664,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964603208"
    },
    {
      "job": 77357185789,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964602867"
    },
    {
      "job": 77357185945,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964606053"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/marcozanotti/dispositionEffect",
  "_commit": {
    "id": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
    "author": "Marco Zanotti <marco.zanotti@blogmeter.it>",
    "committer": "Marco Zanotti <marco.zanotti@blogmeter.it>",
    "message": "bug fix\n",
    "time": 1653894916
  },
  "_maintainer": {
    "name": "Marco Zanotti",
    "email": "zanottimarco17@gmail.com",
    "login": "marcozanotti",
    "uuid": 26893569
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "skimr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggridges",
      "role": "Suggests"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    }
  ],
  "_owner": "marcozanotti",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "behavioral-economics",
    "behavioral-sciences",
    "econometrics",
    "economics",
    "finance",
    "financial-analysis",
    "financial-data",
    "financial-markets",
    "time-series"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "marcozanotti",
      "count": 293,
      "uuid": 26893569
    },
    {
      "user": "lorenzomazzucchelli",
      "count": 1,
      "uuid": 61355832
    },
    {
      "user": "jacoporepossi",
      "count": 1,
      "uuid": 38635522
    }
  ],
  "_userbio": {
    "uuid": 26893569,
    "type": "user",
    "name": "Marco Zanotti",
    "description": " Data Scientist | Forecasting Specialist | PhD in Statistics"
  },
  "_downloads": {
    "count": 201,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dispositionEffect"
  },
  "_devurl": "https://github.com/marcozanotti/dispositioneffect",
  "_pkgdown": "https://marcozanotti.github.io/dispositionEffect/",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dispositionEffect.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/marcozanotti/dispositioneffect",
  "_realowner": "marcozanotti",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-08-02"
    },
    {
      "version": "1.0.1",
      "date": "2022-05-30"
    }
  ],
  "_exports": [
    "%>%",
    "closest_market_price",
    "difftime_financial",
    "disposition_compute",
    "disposition_compute_ts",
    "disposition_difference",
    "disposition_effect",
    "disposition_summary",
    "disposition_summary_ts",
    "evaluate_portfolio",
    "gains_losses",
    "paper_compute",
    "paper_count",
    "paper_duration",
    "paper_total",
    "paper_value",
    "portfolio_compute",
    "realized_compute",
    "realized_count",
    "realized_duration",
    "realized_empty",
    "realized_total",
    "realized_value"
  ],
  "_datasets": [
    {
      "name": "DEanalysis",
      "title": "Real sample data for Disposition Effect analysis",
      "object": "DEanalysis",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "investor",
      "title": "Sample investor financial transactions",
      "object": "investor",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "investor",
        "type",
        "asset",
        "quantity",
        "price",
        "datetime"
      ],
      "rows": 19,
      "table": true,
      "tojson": true
    },
    {
      "name": "marketprices",
      "title": "Market prices of assets traded by the sample investor",
      "object": "marketprices",
      "class": [
        "data.frame"
      ],
      "fields": [
        "asset",
        "datetime",
        "price"
      ],
      "rows": 95,
      "table": true,
      "tojson": true
    },
    {
      "name": "portfolio_results",
      "title": "Realized and paper results",
      "object": "portfolio_results",
      "class": [
        "data.frame"
      ],
      "fields": [
        "investor",
        "asset",
        "quantity",
        "price",
        "datetime",
        "RG_count",
        "RL_count",
        "PG_count",
        "PL_count",
        "RG_total",
        "RL_total",
        "PG_total",
        "PL_total",
        "RG_value",
        "RL_value",
        "PG_value",
        "PL_value",
        "RG_duration",
        "RL_duration",
        "PG_duration",
        "PL_duration"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "portfolio_results_ts",
      "title": "Realized and paper results",
      "object": "portfolio_results_ts",
      "class": [
        "data.frame"
      ],
      "fields": [
        "investor",
        "datetime",
        "DETs_count",
        "DEts_count",
        "DETs_value",
        "DEts_value"
      ],
      "rows": 19,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dispositionEffect-package",
      "title": "dispositionEffect: behavioral Analysis on Financial Data",
      "topics": [
        "dispositionEffect-package"
      ]
    },
    {
      "page": "closest_market_price",
      "title": "Closest market price",
      "topics": [
        "closest_market_price"
      ]
    },
    {
      "page": "DEanalysis",
      "title": "Real sample data for Disposition Effect analysis",
      "topics": [
        "DEanalysis"
      ]
    },
    {
      "page": "disposition_effect",
      "title": "Disposition Effect",
      "topics": [
        "disposition_compute",
        "disposition_compute_ts",
        "disposition_difference",
        "disposition_effect",
        "disposition_summary",
        "disposition_summary_ts"
      ]
    },
    {
      "page": "evaluate",
      "title": "Portfolio evaluation",
      "topics": [
        "evaluate",
        "evaluate_portfolio"
      ]
    },
    {
      "page": "gains_losses",
      "title": "Gains & Losses",
      "topics": [
        "gains_losses"
      ]
    },
    {
      "page": "investor",
      "title": "Sample investor financial transactions",
      "topics": [
        "investor"
      ]
    },
    {
      "page": "marketprices",
      "title": "Market prices of assets traded by the sample investor",
      "topics": [
        "marketprices"
      ]
    },
    {
      "page": "paper_compute",
      "title": "Papers' estimation",
      "topics": [
        "paper_compute",
        "paper_count",
        "paper_duration",
        "paper_total",
        "paper_value"
      ]
    },
    {
      "page": "portfolio_compute",
      "title": "Portfolio Compute",
      "topics": [
        "portfolio_compute"
      ]
    },
    {
      "page": "portfolio_results",
      "title": "Realized and paper results",
      "topics": [
        "portfolio_results"
      ]
    },
    {
      "page": "portfolio_results_ts",
      "title": "Realized and paper results",
      "topics": [
        "portfolio_results_ts"
      ]
    },
    {
      "page": "realized_compute",
      "title": "Realized estimation",
      "topics": [
        "realized_compute",
        "realized_count",
        "realized_duration",
        "realized_empty",
        "realized_total",
        "realized_value"
      ]
    }
  ],
  "_pkglogo": "https://github.com/marcozanotti/dispositionEffect/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/marcozanotti/dispositionEffect/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "de-parallel.Rmd",
      "filename": "de-parallel.html",
      "title": "Disposition Effect in Parallel",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package loading",
        "Data",
        "The Problem",
        "The Solution: Parallel Computing",
        "1) Parallel porfolio_compute",
        "2) Separate files",
        "Conclusions"
      ],
      "created": "2021-03-18 12:54:31",
      "modified": "2021-07-29 11:24:26",
      "commits": 9
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Disposition Effect",
        "Installation & Loading",
        "Data",
        "Gains and Losses",
        "Disposition Effect",
        "Plotting"
      ],
      "created": "2020-12-07 11:44:19",
      "modified": "2021-07-29 11:24:26",
      "commits": 9
    },
    {
      "source": "de-analysis.Rmd",
      "filename": "de-analysis.html",
      "title": "The Analysis of Disposition Effect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Disposition Effect",
        "Package loading",
        "Data",
        "Portfolio Transactions",
        "Market Prices",
        "Disposition Effect: Single Investor Analysis",
        "Gains & Losses Calculation",
        "Disposition Effect Computation",
        "Disposition Effect: Testing Different Arguments",
        "Method",
        "Allow Short",
        "Time Threshold",
        "Exact Market Prices",
        "Interactivity",
        "Other Arguments",
        "Disposition Effect: Multiple Investors Analysis",
        "Visual Analysis"
      ],
      "created": "2021-03-18 12:54:31",
      "modified": "2022-05-27 18:23:10",
      "commits": 9
    },
    {
      "source": "de-timeseries.Rmd",
      "filename": "de-timeseries.html",
      "title": "Time Series Disposition Effect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The importance of time",
        "Package loading",
        "Data",
        "Time series computations",
        "Investor's time series disposition effect",
        "Assets' time series disposition effect",
        "Compare investors' behaviors"
      ],
      "created": "2021-03-18 12:54:31",
      "modified": "2021-07-29 11:24:26",
      "commits": 8
    }
  ],
  "_score": 5.204119982655925,
  "_indexed": true,
  "_nocasepkg": "dispositioneffect",
  "_universes": [
    "marcozanotti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-13T07:59:25.000Z",
      "distro": "noble",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "ea8d0057ea4fe58aba32ece4c4a76c5bf787ea72e36b78c74f28810739b72411",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-13T07:59:23.000Z",
      "distro": "noble",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "4717f8903b047ecb97f94f9883a7aadb507aa78cead11ef1254b900f418bd66f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-13T07:59:43.000Z",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "69dbceb7476b589639cbb953b57195d953f510f4003244ce58a4bf44e5d9993e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-13T07:58:57.000Z",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "89a93228420ad7b07ac430836dd35a501924c78a10ef9e38b1ad3aed4e13ad25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-13T07:58:22.000Z",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "7faeea25e696fd3c4551b5b08de93a58360a48145d25471f6bbc3cd941195e95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-13T07:58:24.000Z",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "f3cce84f10f90d368ac31b5276c749e7dfd48bb8014895719a650d82cf639c9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-13T07:58:32.000Z",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "b5d4374457310ea8cac827dedabdcc4a178f3eeacbc90b839d23c757473b634b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-22T09:57:52.000Z",
      "commit": "abb1ac72e5b1f9ea35d3641206ef3b30011ba558",
      "fileid": "2ef76b838b3a9bdca6ec0ac270c35d71093d6783862de3ec15f52faf219d7153",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marcozanotti/actions/runs/25785946730"
    }
  ]
}