{
  "_id": "6a1e89141d7bb097a0a68132",
  "Package": "bbdetection",
  "Type": "Package",
  "Title": "Identification of Bull and Bear States of the Market",
  "Version": "1.0",
  "Author": "Valeriy Zakamulin",
  "Maintainer": "Valeriy Zakamulin <valeriz@uia.no>",
  "Description": "Implements two algorithms of detecting Bull and Bear\nmarkets in stock prices: the algorithm of Pagan and Sossounov\n(2002, <doi:10.1002/jae.664>) and the algorithm of Lunde and\nTimmermann (2004, <doi:10.1198/073500104000000136>). The\npackage also contains functions for printing out the dating of\nthe Bull and Bear states of the market, the descriptive\nstatistics of the states, and functions for plotting the\nresults. For the sake of convenience, the package includes the\nmonthly and daily data on the prices (not adjusted for\ndividends) of the S&P 500 stock market index.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "TRUE",
  "RoxygenNote": "7.1.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 07:38:00 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2021-04-01 13:30:09 UTC",
  "RemoteUrl": "https://github.com/cran/bbdetection",
  "RemoteRef": "HEAD",
  "RemoteSha": "df69c23ec593055378f1cb9f27a376da279cbea0",
  "MD5sum": "8a79e770f9113e0f5620860c72e006c7",
  "_user": "cran",
  "_type": "src",
  "_file": "bbdetection_1.0.tar.gz",
  "_fileid": "cd51b0c749cbfb61037418fe070d492f9773dee2fe7d7b6186369ccb5d5d16aa",
  "_filesize": 492998,
  "_sha256": "cd51b0c749cbfb61037418fe070d492f9773dee2fe7d7b6186369ccb5d5d16aa",
  "_created": "2026-06-02T07:38:00.000Z",
  "_published": "2026-06-02T07:41:08.610Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79022231469,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351731668"
    },
    {
      "job": 79022231540,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351726596"
    },
    {
      "job": 79022231432,
      "time": 136,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351729702"
    },
    {
      "job": 79022231412,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351726976"
    },
    {
      "job": 79021836392,
      "time": 153,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351684601"
    },
    {
      "job": 79022231400,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351719141"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26805474321",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bbdetection",
  "_commit": {
    "id": "df69c23ec593055378f1cb9f27a376da279cbea0",
    "author": "Valeriy Zakamulin <valeriz@uia.no>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1617283809
  },
  "_maintainer": {
    "name": "Valeriy Zakamulin",
    "email": "valeriz@uia.no"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.5",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "xtable",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 210,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bbdetection"
  },
  "_searchresults": 6,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bbdetection.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2021-04-01"
    }
  ],
  "_exports": [
    "bb.dating.states",
    "bb.plot",
    "bb.summary.stat",
    "run_dating_alg",
    "run_filtering_alg",
    "setpar_dating_alg",
    "setpar_filtering_alg"
  ],
  "_datasets": [
    {
      "name": "djiad",
      "title": "Daily data the Dow Jones Industrial Average index",
      "object": "bbdetection",
      "class": [
        "zoo"
      ],
      "fields": [
        "DJIA"
      ],
      "rows": 8796,
      "table": true,
      "tojson": false
    },
    {
      "name": "djiam",
      "title": "Monthly data on the Dow Jones Industrial Average index",
      "object": "bbdetection",
      "class": [
        "zoo"
      ],
      "fields": [
        "DJIA"
      ],
      "rows": 420,
      "table": true,
      "tojson": false
    },
    {
      "name": "sp500d",
      "title": "Daily data the S&P 500 index",
      "object": "bbdetection",
      "class": [
        "zoo"
      ],
      "fields": [
        "SP500"
      ],
      "rows": 17606,
      "table": true,
      "tojson": false
    },
    {
      "name": "sp500m",
      "title": "Monthly data on the S&P 500 index",
      "object": "bbdetection",
      "class": [
        "zoo"
      ],
      "fields": [
        "SP500"
      ],
      "rows": 840,
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "bb.dating.states",
      "title": "Prints out the dating of bull-bear states",
      "topics": [
        "bb.dating.states"
      ]
    },
    {
      "page": "bb.plot",
      "title": "Plots the log of prices and highlight bear states",
      "topics": [
        "bb.plot"
      ]
    },
    {
      "page": "bb.summary.stat",
      "title": "Prints out the summary statistics of bull-bear states",
      "topics": [
        "bb.summary.stat"
      ]
    },
    {
      "page": "djiad",
      "title": "Daily data the Dow Jones Industrial Average index",
      "concept": [
        "data sets"
      ],
      "topics": [
        "djiad"
      ]
    },
    {
      "page": "djiam",
      "title": "Monthly data on the Dow Jones Industrial Average index",
      "concept": [
        "data sets"
      ],
      "topics": [
        "djiam"
      ]
    },
    {
      "page": "run_dating_alg",
      "title": "Runs the dating algorithm to identify Bull and Bear states",
      "topics": [
        "run_dating_alg"
      ]
    },
    {
      "page": "run_filtering_alg",
      "title": "Runs the filtering algorithm to identify Bull and Bear states",
      "topics": [
        "run_filtering_alg"
      ]
    },
    {
      "page": "setpar_dating_alg",
      "title": "Sets the paramters of the dating algorithm",
      "topics": [
        "setpar_dating_alg"
      ]
    },
    {
      "page": "setpar_filtering_alg",
      "title": "Sets the paramters of the filtering algorithm",
      "topics": [
        "setpar_filtering_alg"
      ]
    },
    {
      "page": "sp500d",
      "title": "Daily data the S&P 500 index",
      "concept": [
        "data sets"
      ],
      "topics": [
        "sp500d"
      ]
    },
    {
      "page": "sp500m",
      "title": "Monthly data on the S&P 500 index",
      "concept": [
        "data sets"
      ],
      "topics": [
        "sp500m"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "bbdetection",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-02T07:40:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "0c796dcf18644ee415a798bbc2023a9ed8a22903d58c5414e007a0836b167e3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26805474321"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-02T07:40:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "be7a7ae39ac308c4709887cddac91b1cd9c6e9d767b22b449a17926569e70559",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26805474321"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-02T07:40:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "630f179ce8d02baf6a43004cbc17d692f8fbd906653cd870fbcc6f1760f7c8eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26805474321"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-02T07:40:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "782dc1294a5a7bc17f68a738c10522a84074deb149dcf761a9277c46dd40c46f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26805474321"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-06-02T07:40:07.000Z",
      "arch": "emscripten",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "c251dbdb063a458042a3dbafb8adb5ffcc390e43277b9f977f22196a8e5dd7fe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26805474321"
    }
  ]
}