MyNixOS website logo
Description

Analysis of Disposition Effect on Financial Portfolios.

Evaluate the presence of disposition effect and others irrational investor's behaviors based solely on investor's transactions and financial market data. Experimental data can also be used to perform the analysis. Four different methodologies are implemented to account for the different nature of human behaviors on financial markets. Novel analyses such as portfolio driven and time series disposition effect are also allowed.

dispositionEffect

CRANstatus R buildstatus Codecov testcoverage Lifecycle:experimental Website GitHubissues GitHub R packageversion GitHub toplanguage

The dispositionEffect package allows to quickly evaluate the presence of disposition effect’s behaviors of an investor based solely on his transactions and the market prices of the traded assets.

Installation

You can install the released version of dispositionEffect from CRAN with:

install.packages("dispositionEffect")

Otherwise, you can also install the development version from GitHub with:

install.packages("devtools")
devtools::install_github("marcozanotti/dispositionEffect")

Overview

The package contains few user-friendly purpose specific interfaces:

  • portfolio_compute is a wrapper function that compute realized and paper gains and losses from the investor’s transactions and the market prices of the traded assets and updates the investor’s portfolio

  • gains_losses is the core function of the package. It performs all the necessary calculations and can be used for real-time processing (it is intended for advanced users only)

  • disposition_effect computes the disposition effect

  • disposition_difference computes the disposition difference

  • disposition_computeand disposition_summaryinterfaces that allow to easily compute disposition effect and summary statistics.

Tutorials

References

  • Mazzucchelli, 2022, An Analysis of Short Selling and Volatility Impact on the Disposition Effect (working paper)

  • Filippin, Mazzucchelli, and Zanotti, 2022, Portfolio driven disposition effect: the wide framing approach (working paper)

  • Mazzucchelli, and Zanotti, 2022, Mean reverting expectations to rationalize the disposition effect (working paper)

  • Computing Disposition Effect on Financial Market Data, 2021, useR! Conference

Getting help

If you encounter a clear bug, please file an issue with a minimal reproducible example on GitHub.

For questions and other discussion, mail us at [email protected].

Acknowledgements

A special thank to Claud Graphics for our logo.

Metadata

Version

1.0.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows