{
  "_id": "6b02debe75ab5e50c7678abc",
  "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-11-22 12:18:50 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",
  "_user": "cran",
  "_type": "src",
  "_file": "bbdetection_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4cab2579c49d52c81e8290cd93291ed4c9525609e5c1e8a29fc5a532ecefa519",
  "_filesize": 492797,
  "_sha256": "4cab2579c49d52c81e8290cd93291ed4c9525609e5c1e8a29fc5a532ecefa519",
  "_expires": "2027-03-02T12:23:24.000Z",
  "_created": "2026-11-22T12:18:50.000Z",
  "_published": "2026-11-22T12:23:26.283Z",
  "_upstream": "https://github.com/cran/bbdetection",
  "_status": "success",
  "_maintainer": {
    "name": "Valeriy Zakamulin",
    "email": "valeriz@uia.no"
  },
  "_jobs": [
    {
      "job": 137205730016,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14753094766"
    },
    {
      "job": 137205730019,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14754396407"
    },
    {
      "job": 137205729994,
      "time": 90,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14754117368"
    },
    {
      "job": 137205730070,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14754530343"
    },
    {
      "job": 137204626223,
      "time": 246,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14753987422"
    },
    {
      "job": 137205729945,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14753678951"
    },
    {
      "job": 137205730035,
      "time": 229,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14754361811"
    },
    {
      "job": 137205730043,
      "time": 121,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14753438716"
    },
    {
      "job": 137205730011,
      "time": 224,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14754421496"
    },
    {
      "job": 137205730017,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14754017565"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667",
  "_commit": {
    "id": "df69c23ec593055378f1cb9f27a376da279cbea0",
    "author": "Valeriy Zakamulin <valeriz@uia.no>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1617283809
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 570,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bbdetection"
  },
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/bbdetection.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2021-04-01"
    }
  ],
  "_authors": [
    {
      "name": "Valeriy Zakamulin",
      "email": "valeriz@uia.no",
      "role": [
        "cre"
      ]
    }
  ],
  "_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": "16-20260322-1ubuntu1",
      "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-11-22T12:21:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/c210eb7f4c048229a97a0cc10230789eca7b68f9c62adcc2f7ada0e96c5336b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-22T12:20:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/601678ba0fe56076edfc365bb81a8f2b42089138189ea4f46a61a5519c8915c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-22T12:20:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/dcdaae408e767aedf089f61957c73b60da17e656f3804cf26cce4939ae3c1262",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-22T12:21:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/1366d2d683fc2472fb070407008a0ce2967c6d0b46b80446043cb1b913b066f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-11-22T12:20:48.000Z",
      "arch": "emscripten",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/4b9ac3f866757480758154fd10d847ddd54de9958e41355f0b225e5602cbabac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-22T12:22:26.000Z",
      "arch": "aarch64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/0ceb7403844503c078293b276cd069b36e848c658f197e13e0e550dde6c4d17d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-22T12:20:00.000Z",
      "arch": "x86_64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/23a8a4c7b311a47fbd5e4523ce2814cefdf9bac215e34a05630f3086a9692dea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-22T12:22:23.000Z",
      "arch": "aarch64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/3e0133c9fcd859fce597020616101a2d6c6006f665d608fdfca1f4dccb57e3af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-22T12:20:10.000Z",
      "arch": "x86_64",
      "commit": "df69c23ec593055378f1cb9f27a376da279cbea0",
      "fileid": "https://r2.ropensci.org/d820aa5fa628a7c3925be74b6864d0f33d0a536fbd450aebbbf4730db5b3ea37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45021278667"
    }
  ]
}