{
  "_id": "6a197288acfb0bcc41deeca9",
  "Package": "TTR",
  "Type": "Package",
  "Title": "Technical Trading Rules",
  "Version": "0.24.4.1",
  "Authors@R": "c(\nperson(given=\"Joshua\", family=\"Ulrich\", role=c(\"cre\",\"aut\"), email=\"josh.m.ulrich@gmail.com\"),\nperson(given=c(\"Ethan\",\"B.\"), family=\"Smith\", role=\"ctb\")\n)",
  "Description": "A collection of over 50 technical indicators for creating\ntechnical trading rules. The package also provides fast\nimplementations of common rolling-window functions, and several\nvolatility calculations.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/joshuaulrich/TTR",
  "BugReports": "https://github.com/joshuaulrich/TTR/issues",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://joshuaulrich.r-universe.dev",
  "Date/Publication": "2026-02-28 19:51:12 UTC",
  "RemoteUrl": "https://github.com/joshuaulrich/ttr",
  "RemoteRef": "HEAD",
  "RemoteSha": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 09:26:49 UTC",
    "User": "root"
  },
  "Author": "Joshua Ulrich [cre, aut],\nEthan B. Smith [ctb]",
  "Maintainer": "Joshua Ulrich <josh.m.ulrich@gmail.com>",
  "MD5sum": "ab951f0cb729bfbc919059fcbfde6036",
  "_user": "joshuaulrich",
  "_type": "src",
  "_file": "TTR_0.24.4.1.tar.gz",
  "_fileid": "b904404ec0d2507aa6f5b4f0c76599212fc144e3469c145b2ab932be54cc7fea",
  "_filesize": 678226,
  "_sha256": "b904404ec0d2507aa6f5b4f0c76599212fc144e3469c145b2ab932be54cc7fea",
  "_created": "2026-05-29T09:26:49.000Z",
  "_published": "2026-05-29T11:03:36.726Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78474302248,
      "time": 112,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287522172"
    },
    {
      "job": 78474302179,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287524907"
    },
    {
      "job": 78474302265,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287527471"
    },
    {
      "job": 78474302178,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287522841"
    },
    {
      "job": 78474302261,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289160101"
    },
    {
      "job": 78474302252,
      "time": 230,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7287825878"
    },
    {
      "job": 78474302211,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289154298"
    },
    {
      "job": 78474302289,
      "time": 167,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287828187"
    },
    {
      "job": 78473869332,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287485601"
    },
    {
      "job": 78474302147,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287517130"
    },
    {
      "job": 78474302175,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287519580"
    },
    {
      "job": 78474302150,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7287519127"
    },
    {
      "job": 78474302172,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287518878"
    }
  ],
  "_buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/joshuaulrich/ttr",
  "_commit": {
    "id": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
    "author": "Joshua Ulrich <josh.m.ulrich@gmail.com>",
    "committer": "Joshua Ulrich <josh.m.ulrich@gmail.com>",
    "message": "Bump dev version\n",
    "time": 1772308272
  },
  "_maintainer": {
    "name": "Joshua Ulrich",
    "email": "josh.m.ulrich@gmail.com",
    "login": "joshuaulrich",
    "description": "",
    "uuid": 1023193
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "xts",
      "role": "LinkingTo"
    },
    {
      "package": "xts",
      "version": ">= 0.10-0",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "quantmod",
      "role": "Enhances"
    }
  ],
  "_owner": "joshuaulrich",
  "_selfowned": true,
  "_usedby": 170,
  "_updates": [
    {
      "week": "2026-09",
      "n": 4
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithmic-trading",
    "finance",
    "technical-analysis"
  ],
  "_stars": 342,
  "_contributors": [
    {
      "user": "joshuaulrich",
      "count": 347,
      "uuid": 1023193
    },
    {
      "user": "braverock",
      "count": 5,
      "uuid": 1668391
    },
    {
      "user": "jaryan",
      "count": 4,
      "uuid": 879808
    },
    {
      "user": "ethanbsmith",
      "count": 3,
      "uuid": 24379655
    },
    {
      "user": "phated",
      "count": 2,
      "uuid": 992373
    },
    {
      "user": "jtoll",
      "count": 1,
      "uuid": 1028108
    },
    {
      "user": "luisdamiano",
      "count": 1,
      "uuid": 21041924
    },
    {
      "user": "serkor1",
      "count": 1,
      "uuid": 77464572
    },
    {
      "user": "harvey131",
      "count": 1,
      "uuid": 26120526
    }
  ],
  "_userbio": {
    "uuid": 1023193,
    "type": "user",
    "name": "Joshua Ulrich"
  },
  "_downloads": {
    "count": 141262,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TTR"
  },
  "_mentions": 13,
  "_devurl": "https://github.com/joshuaulrich/ttr",
  "_searchresults": 3488,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TTR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/joshuaulrich/ttr",
  "_realowner": "joshuaulrich",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.13",
      "date": "2007-10-03"
    },
    {
      "version": "0.13-1",
      "date": "2007-10-25"
    },
    {
      "version": "0.14-0",
      "date": "2008-01-24"
    },
    {
      "version": "0.2",
      "date": "2009-02-11"
    },
    {
      "version": "0.20-0",
      "date": "2009-07-30"
    },
    {
      "version": "0.20-1",
      "date": "2009-08-28"
    },
    {
      "version": "0.20-2",
      "date": "2010-03-25"
    },
    {
      "version": "0.21-0",
      "date": "2011-08-30"
    },
    {
      "version": "0.21-1",
      "date": "2012-04-01"
    },
    {
      "version": "0.22-0",
      "date": "2013-03-17"
    },
    {
      "version": "0.23-0",
      "date": "2015-07-10"
    },
    {
      "version": "0.23-1",
      "date": "2016-03-20"
    },
    {
      "version": "0.23-2",
      "date": "2017-07-11"
    },
    {
      "version": "0.23-3",
      "date": "2018-01-24"
    },
    {
      "version": "0.23-4",
      "date": "2018-09-20"
    },
    {
      "version": "0.23-5",
      "date": "2019-09-23"
    },
    {
      "version": "0.23-6",
      "date": "2019-12-15"
    },
    {
      "version": "0.24.0",
      "date": "2020-08-10"
    },
    {
      "version": "0.24.1",
      "date": "2020-08-28"
    },
    {
      "version": "0.24.2",
      "date": "2020-09-01"
    },
    {
      "version": "0.24.3",
      "date": "2021-12-12"
    },
    {
      "version": "0.24.4",
      "date": "2023-11-28"
    }
  ],
  "_exports": [
    "adjRatios",
    "ADX",
    "ALMA",
    "aroon",
    "ATR",
    "BBands",
    "CCI",
    "chaikinAD",
    "chaikinVolatility",
    "CLV",
    "CMF",
    "CMO",
    "CTI",
    "DEMA",
    "DonchianChannel",
    "DPO",
    "DVI",
    "EMA",
    "EMV",
    "EVWMA",
    "getYahooData",
    "GMMA",
    "growth",
    "HMA",
    "keltnerChannels",
    "KST",
    "lags",
    "MACD",
    "MFI",
    "momentum",
    "naCheck",
    "OBV",
    "PBands",
    "ROC",
    "rollSFM",
    "RSI",
    "runCor",
    "runCov",
    "runMAD",
    "runMax",
    "runMean",
    "runMedian",
    "runMin",
    "runPercentRank",
    "runRange",
    "runSD",
    "runSum",
    "runVar",
    "SAR",
    "SMA",
    "SMI",
    "SNR",
    "stoch",
    "stockSymbols",
    "TDI",
    "TR",
    "TRIX",
    "ultimateOscillator",
    "VHF",
    "volatility",
    "VWAP",
    "VWMA",
    "wilderSum",
    "williamsAD",
    "WMA",
    "WPR",
    "ZigZag",
    "ZLEMA"
  ],
  "_datasets": [
    {
      "name": "ttrc",
      "title": "Technical Trading Rule Composite data",
      "object": "ttrc",
      "file": "ttrc.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "Open",
        "High",
        "Low",
        "Close",
        "Volume"
      ],
      "rows": 5550,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjRatios",
      "title": "Split and dividend adjustment ratios",
      "topics": [
        "adjRatios",
        "adjust"
      ]
    },
    {
      "page": "ADX",
      "title": "Welles Wilder's Directional Movement Index",
      "topics": [
        "ADX",
        "DI",
        "DX"
      ]
    },
    {
      "page": "aroon",
      "title": "Aroon",
      "topics": [
        "aroon"
      ]
    },
    {
      "page": "bollingerBands",
      "title": "Bollinger Bands",
      "topics": [
        "BBands",
        "bollingerBands"
      ]
    },
    {
      "page": "CCI",
      "title": "Commodity Channel Index",
      "topics": [
        "CCI"
      ]
    },
    {
      "page": "chaikinAD",
      "title": "Chaikin Accumulation / Distribution",
      "topics": [
        "chaikinAD"
      ]
    },
    {
      "page": "chaikinVolatility",
      "title": "Chaikin Volatility",
      "topics": [
        "chaikinVolatility"
      ]
    },
    {
      "page": "CLV",
      "title": "Close Location Value",
      "topics": [
        "CLV"
      ]
    },
    {
      "page": "CMF",
      "title": "Chaikin Money Flow",
      "topics": [
        "CMF"
      ]
    },
    {
      "page": "CMO",
      "title": "Chande Momentum Oscillator",
      "topics": [
        "CMO"
      ]
    },
    {
      "page": "CTI",
      "title": "Ehler's Correlation Trend Indicator",
      "topics": [
        "CTI"
      ]
    },
    {
      "page": "DonchianChannel",
      "title": "Donchian Channel",
      "topics": [
        "Donchian",
        "DonchianChannel"
      ]
    },
    {
      "page": "DPO",
      "title": "De-Trended Price Oscillator",
      "topics": [
        "DPO"
      ]
    },
    {
      "page": "DVI",
      "title": "DV Intermediate Oscillator",
      "topics": [
        "DVI"
      ]
    },
    {
      "page": "EMV",
      "title": "Arms' Ease of Movement Value",
      "topics": [
        "EMV"
      ]
    },
    {
      "page": "GMMA",
      "title": "Guppy Multiple Moving Averages",
      "topics": [
        "GMMA",
        "Guppy",
        "guppy"
      ]
    },
    {
      "page": "keltnerChannels",
      "title": "Keltner Channels",
      "topics": [
        "keltnerChannels"
      ]
    },
    {
      "page": "KST",
      "title": "Know Sure Thing",
      "topics": [
        "KST"
      ]
    },
    {
      "page": "TTRtools",
      "title": "Miscellaneous Tools",
      "topics": [
        "growth",
        "lags",
        "naCheck"
      ]
    },
    {
      "page": "MACD",
      "title": "MACD Oscillator",
      "topics": [
        "MACD"
      ]
    },
    {
      "page": "MFI",
      "title": "Money Flow Index",
      "topics": [
        "MFI",
        "moneyFlow"
      ]
    },
    {
      "page": "OBV",
      "title": "On Balance Volume (OBV)",
      "topics": [
        "OBV"
      ]
    },
    {
      "page": "priceBands",
      "title": "Construct (optionally further smoothed and centered ) volatility bands around prices",
      "topics": [
        "PBands",
        "priceBands"
      ]
    },
    {
      "page": "changes",
      "title": "Rate of Change / Momentum",
      "topics": [
        "changes",
        "momentum",
        "ROC"
      ]
    },
    {
      "page": "rollFun",
      "title": "Analysis of Running/Rolling/Moving Windows",
      "topics": [
        "rollFun",
        "rollSFM"
      ]
    },
    {
      "page": "RSI",
      "title": "Relative Strength Index",
      "topics": [
        "RSI"
      ]
    },
    {
      "page": "runPercentRank",
      "title": "Percent Rank over a Moving Window",
      "topics": [
        "PercentRank",
        "percentRank",
        "runPercentRank"
      ]
    },
    {
      "page": "runFun",
      "title": "Analysis of Running/Rolling/Moving Windows",
      "topics": [
        "runCor",
        "runCov",
        "runFun",
        "runMAD",
        "runMax",
        "runMean",
        "runMedian",
        "runMin",
        "runRange",
        "runSD",
        "runSum",
        "runVar",
        "wilderSum"
      ]
    },
    {
      "page": "SAR",
      "title": "Parabolic Stop-and-Reverse",
      "topics": [
        "SAR"
      ]
    },
    {
      "page": "MovingAverages",
      "title": "Moving Averages",
      "topics": [
        "ALMA",
        "DEMA",
        "EMA",
        "EVWMA",
        "GD",
        "HMA",
        "MA",
        "MovingAverages",
        "SMA",
        "T3",
        "VWAP",
        "VWMA",
        "WMA",
        "ZLEMA"
      ]
    },
    {
      "page": "SNR",
      "title": "Signal to Noise Ratio",
      "topics": [
        "SNR"
      ]
    },
    {
      "page": "stochastics",
      "title": "Stochastic Oscillator / Stochastic Momentum Index",
      "topics": [
        "%D",
        "%K",
        "SMI",
        "stoch",
        "stochastic",
        "stochastics"
      ]
    },
    {
      "page": "WebData",
      "title": "Fetch Internet Data",
      "topics": [
        "getYahooData",
        "stockSymbols",
        "WebData"
      ]
    },
    {
      "page": "TDI",
      "title": "Trend Detection Index",
      "topics": [
        "TDI"
      ]
    },
    {
      "page": "ATR",
      "title": "True Range / Average True Range",
      "topics": [
        "ATR",
        "TR"
      ]
    },
    {
      "page": "TRIX",
      "title": "Triple Smoothed Exponential Oscillator",
      "topics": [
        "TRIX"
      ]
    },
    {
      "page": "TTR",
      "title": "Functions to create Technical Trading Rules (TTR)",
      "topics": [
        "TTR-package",
        "TTR"
      ]
    },
    {
      "page": "ttrc",
      "title": "Technical Trading Rule Composite data",
      "topics": [
        "ttrc"
      ]
    },
    {
      "page": "ultimateOscillator",
      "title": "The Ultimate Oscillator",
      "topics": [
        "ultimateOscillator"
      ]
    },
    {
      "page": "VHF",
      "title": "Vertical Horizontal Filter",
      "topics": [
        "VHF"
      ]
    },
    {
      "page": "volatility",
      "title": "Volatility",
      "topics": [
        "garman.klass",
        "gk.yz",
        "parkinson",
        "rogers.satchell",
        "volatility",
        "yang.zhang"
      ]
    },
    {
      "page": "williamsAD",
      "title": "Williams Accumulation / Distribution",
      "topics": [
        "williamsAD"
      ]
    },
    {
      "page": "WPR",
      "title": "William's %R",
      "topics": [
        "WPR"
      ]
    },
    {
      "page": "ZigZag",
      "title": "Zig Zag",
      "topics": [
        "ZigZag",
        "zigzag"
      ]
    }
  ],
  "_readme": "https://github.com/joshuaulrich/ttr/raw/HEAD/README.md",
  "_rundeps": [
    "curl",
    "lattice",
    "xts",
    "zoo"
  ],
  "_score": 14.536258100481264,
  "_indexed": true,
  "_nocasepkg": "ttr",
  "_universes": [
    "joshuaulrich"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "f6d761c042ad9de4281a40e661b53ff54f3b8df48f3494ec618824b245e8375a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "a83d3e93d76e89847decce01c816c5eb91081d944d7059f31ca5446855da7e58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:29:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "8e7d855c70fb1d3ee8792b7f9479b8d6e14902cb3de7698395529dca55c544c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "1b80c9adc5f349ea9d7e2f15d8861cd167a8c4fa4a63b6705ff44e307de15891",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.24.4.1",
      "date": "2026-05-29T11:02:55.000Z",
      "arch": "aarch64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "79f759d4beb2acf526a8460696ebcf906e02ab346c0054b04b32a463c47128e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:45:08.000Z",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "512d5f4094050bef6d4267dbd8caaf56dabaabdaa332dee216dbfa882bb03c81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.24.4.1",
      "date": "2026-05-29T11:02:35.000Z",
      "arch": "aarch64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "bbece46038d45f127df9f2af13034da7c93007c44ede5fab425be81be615abb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:45:27.000Z",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "dd41d44911c9625f69eacb7ac2b5308d2cc7e9a8b006c4dc08fec3fa1c716ea1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:46.000Z",
      "arch": "emscripten",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "267cb16d050ce50b772369f14dfe3d8dddad4dd50d09f0aa59138f1da648f9ed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:18.000Z",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "5ec5feaf2d0ae1393d054bcdde57831eaaec3fc832d1764186bf587a3753f31c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:20.000Z",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "a7747a5dc54bd51868ed3595db68d311a12f8543b82e2b73f2b13e55b1dfc650",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.24.4.1",
      "date": "2026-05-29T09:28:12.000Z",
      "arch": "x86_64",
      "commit": "76e5618e4a714f190519ee98da6de3234cf7d8b5",
      "fileid": "fd651441508378bde82074bba3087160ec3a9e1f5fd4cc42a458e3e0dd0498ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joshuaulrich/actions/runs/26629294213"
    }
  ]
}