{
  "_id": "6ac61c81f511ae58c09a6478",
  "Package": "wickrabacktest",
  "Type": "Package",
  "Title": "Wickra Backtest Engine (R Binding)",
  "Version": "0.2.0",
  "Authors@R": "person(\"kingchenc\", role = c(\"aut\", \"cre\"), email = \"support@wickra.org\")",
  "Description": "R binding for the wickra-backtest engine. It calls the\nengine's stable C ABI from compiled C glue via .Call, returning\nthe backtest report as a JSON string that is byte-identical to\nthe Rust, Python, Node.js, WASM, C#, Java and Go bindings.",
  "License": "MIT + file LICENSE | Apache License 2.0",
  "URL": "https://github.com/wickra-lib/wickra-backtest,\nhttps://backtest.wickra.org, https://wickra-lib.r-universe.dev",
  "BugReports": "https://github.com/wickra-lib/wickra-backtest/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "NeedsCompilation": "yes",
  "SystemRequirements": "the wickra-backtest C ABI shared library.\n`configure` downloads the prebuilt library for this package's\nVersion from the project's GitHub releases and bundles it, so\nan ordinary install needs nothing extra. To build against a\nlocal checkout instead, set WKBT_INC to bindings/c/include and\nWKBT_LIB to the directory holding a library you built yourself\nwith `cargo build -p wickra-backtest-c --release`.",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://wickra-lib.r-universe.dev",
  "Date/Publication": "2026-10-05 23:22:54 UTC",
  "RemoteUrl": "https://github.com/wickra-lib/wickra-backtest",
  "RemoteRef": "v0.2.0",
  "RemoteSha": "1083604d70a3b120efb86687631ed18576d64221",
  "RemoteSubdir": "bindings/r",
  "Packaged": {
    "Date": "2026-10-07 08:57:39 UTC",
    "User": "root"
  },
  "Author": "kingchenc [aut, cre]",
  "Maintainer": "kingchenc <support@wickra.org>",
  "_user": "wickra-lib",
  "_type": "src",
  "_file": "wickrabacktest_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9b057efd06462a3410a2443da2553c8f0e07b601ce185f39beee461193aa2496",
  "_filesize": 107671,
  "_sha256": "9b057efd06462a3410a2443da2553c8f0e07b601ce185f39beee461193aa2496",
  "_expires": "2027-01-15T10:18:40.000Z",
  "_created": "2026-10-07T08:57:39.000Z",
  "_published": "2026-10-07T10:18:41.672Z",
  "_buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112713016521,
      "time": 88,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11470574893"
    },
    {
      "job": 112713016386,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11471707208"
    },
    {
      "job": 112713016473,
      "time": 89,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471710953"
    },
    {
      "job": 112713016319,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11472166634"
    },
    {
      "job": 112713016272,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11474903082"
    },
    {
      "job": 112713016281,
      "time": 210,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11475435469"
    },
    {
      "job": 112713016320,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11474733057"
    },
    {
      "job": 112713016254,
      "time": 185,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11474244764"
    },
    {
      "job": 112708099644,
      "time": 145,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11472025208"
    },
    {
      "job": 112713016379,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11471078900"
    },
    {
      "job": 112713016412,
      "time": 191,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11471621409"
    },
    {
      "job": 112713016318,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11471485829"
    },
    {
      "job": 112713016350,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11471596179"
    },
    {
      "job": 112713016436,
      "time": 190,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471097239"
    },
    {
      "job": 112713016430,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471002365"
    }
  ],
  "_upstream": "https://github.com/wickra-lib/wickra-backtest",
  "_commit": {
    "id": "1083604d70a3b120efb86687631ed18576d64221",
    "author": "kingchenc <kingchencp@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "release: 0.2.0 on wickra 2.0 (#154)\n\nBuilt on wickra 2.0, the formula-audit release of the indicator core. The\nindicators wickra corrected compute their published definitions in strategies\ntoo; a spec that uses none of them backtests exactly as before.\n\n### Changed\n\n- **wickra-core 2.0.** The indicators the audit corrected -- among them Keltner,\n  Psar / SarExt, Rvi, Inertia, Kvo, the Hilbert family and MAMA, the DeMark and\n  candlestick patterns -- return the values of their published definitions.\n  wickra's changelog lists every one, with the warmup changes and new defaults.\n- **`EstimatedLeverageRatio` is a pair indicator.** wickra-core 2.0 computes\n  CryptoQuant's ratio from open interest and the exchange's coin reserve, which\n  no derivatives tick carries. The registry feeds it like the other pair\n  indicators: the bar close is the open interest, the reference series the\n  exchange reserve.\n\n---\n\nAlso on this branch: **ci: the link checks never turn a commit red.** lychee runs with `continue-on-error` on the step and a step timeout, and every broken link becomes a `Broken link` warning annotation instead of a red check -- the CHANGELOG compare link of this release 404s until its tag exists.",
    "time": 1791242574
  },
  "_maintainer": {
    "name": "kingchenc",
    "email": "support@wickra.org",
    "login": "kingchenc",
    "description": "",
    "uuid": 14137153
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    }
  ],
  "_owner": "wickra-lib",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 99
    },
    {
      "week": "2026-27",
      "n": 7
    },
    {
      "week": "2026-28",
      "n": 8
    },
    {
      "week": "2026-29",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 11
    },
    {
      "week": "2026-31",
      "n": 6
    },
    {
      "week": "2026-35",
      "n": 117
    },
    {
      "week": "2026-36",
      "n": 7
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 10
    },
    {
      "week": "2026-39",
      "n": 5
    },
    {
      "week": "2026-40",
      "n": 10
    },
    {
      "week": "2026-41",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-08-28"
    },
    {
      "name": "v0.1.1",
      "date": "2026-08-30"
    },
    {
      "name": "v0.1.2",
      "date": "2026-08-31"
    },
    {
      "name": "v0.1.3",
      "date": "2026-09-02"
    },
    {
      "name": "v0.1.4",
      "date": "2026-09-02"
    },
    {
      "name": "v0.1.5",
      "date": "2026-09-13"
    },
    {
      "name": "v0.1.6",
      "date": "2026-09-15"
    },
    {
      "name": "v0.1.7",
      "date": "2026-09-17"
    },
    {
      "name": "v0.1.8",
      "date": "2026-09-23"
    },
    {
      "name": "v0.1.9",
      "date": "2026-09-27"
    },
    {
      "name": "v0.2.0",
      "date": "2026-10-05"
    }
  ],
  "_topics": [
    "algorithmic-trading",
    "algotrading",
    "backtest",
    "backtesting",
    "cryptocurrency",
    "event-driven",
    "finance",
    "fintech",
    "indicators",
    "market-data",
    "nodejs",
    "python",
    "quant",
    "quantitative-finance",
    "rust",
    "streaming",
    "technical-analysis",
    "trading",
    "trading-strategies",
    "wasm"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "kingchenc",
      "count": 256,
      "uuid": 14137153
    }
  ],
  "_userbio": {
    "uuid": 287444813,
    "type": "organization",
    "name": "Wickra",
    "followers": 9,
    "description": "Streaming-first technical indicators. Native Rust, Python, Node.js, WASM + C ABI hub → C, C++, C#, Go, Java, R. 514 indicators, O(1)/tick, install-free."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/wickrabacktest"
  },
  "_devurl": "https://github.com/wickra-lib/wickra-backtest",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/wickrabacktest.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "backtest_run",
    "backtest_run_json",
    "backtest_stream_equity_json",
    "backtest_stream_finish_json",
    "backtest_stream_free",
    "backtest_stream_latest_equity_json",
    "backtest_stream_new",
    "backtest_stream_num_trades",
    "backtest_stream_step",
    "backtest_stream_step_json",
    "backtest_version"
  ],
  "_help": [
    {
      "page": "backtest_run",
      "title": "Run a strategy spec over OHLCV data.",
      "topics": [
        "backtest_run"
      ]
    },
    {
      "page": "backtest_run_json",
      "title": "Run a backtest from a single request bundle.",
      "topics": [
        "backtest_run_json"
      ]
    },
    {
      "page": "backtest_stream_equity_json",
      "title": "The equity curve of a streaming backtest so far, as a JSON array.",
      "topics": [
        "backtest_stream_equity_json"
      ]
    },
    {
      "page": "backtest_stream_finish_json",
      "title": "Close any open position and return the streaming backtest report.",
      "topics": [
        "backtest_stream_finish_json"
      ]
    },
    {
      "page": "backtest_stream_free",
      "title": "Release a streaming backtest without producing a report.",
      "topics": [
        "backtest_stream_free"
      ]
    },
    {
      "page": "backtest_stream_latest_equity_json",
      "title": "The most recent equity point of a streaming backtest.",
      "topics": [
        "backtest_stream_latest_equity_json"
      ]
    },
    {
      "page": "backtest_stream_new",
      "title": "Start a streaming backtest.",
      "topics": [
        "backtest_stream_new"
      ]
    },
    {
      "page": "backtest_stream_num_trades",
      "title": "The number of closed trades in a streaming backtest so far.",
      "topics": [
        "backtest_stream_num_trades"
      ]
    },
    {
      "page": "backtest_stream_step",
      "title": "Advance a streaming backtest by one OHLCV bar.",
      "topics": [
        "backtest_stream_step"
      ]
    },
    {
      "page": "backtest_stream_step_json",
      "title": "Advance a streaming backtest by one bar given as a request document.",
      "topics": [
        "backtest_stream_step_json"
      ]
    },
    {
      "page": "backtest_version",
      "title": "The native wickra-backtest library version.",
      "topics": [
        "backtest_version"
      ]
    }
  ],
  "_readme": "https://github.com/wickra-lib/wickra-backtest/raw/v0.2.0/bindings/r/README.md",
  "_rundeps": [],
  "_score": 3.5118833609788744,
  "_indexed": true,
  "_nocasepkg": "wickrabacktest",
  "_universes": [
    "wickra-lib",
    "kingchenc"
  ],
  "_previous": "0.1.9",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-07T08:59:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/db8e45173260884243bf76e5e6e3259555db4424dc91ffbfa1ca4fce0a793c81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-07T09:09:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/2caf580814e2b8acbab6cbcf7fc507872f19fbc16d7d550d2d50eb212dcb4538",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-07T08:59:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/4ac6b22c704aa4c2088ca1c65f021c447863eba546439493f9c35ee6effff0f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-07T09:09:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/17217deef16143c040dc0e2bc44c52dd24f96fba82227af63e7b62151bbae33f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-07T10:17:09.000Z",
      "arch": "aarch64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/c90c3660c0d52179992eb3384569375c95d133f2cc6c63de5c6bff02b4de7efe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-07T10:13:48.000Z",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/d8e6897197963d7dc9dd7fac9bf154652ce06271f5f6328a74ead92534895d11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-07T10:18:01.000Z",
      "arch": "aarch64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/404e149317877163b31f92c5bf0bd5a8d3fa291ef01a34843ad40bafb4449ce6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-07T10:13:01.000Z",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/7e74371b5c0878c576f3c27fab435bdce2a0dafe505a8546beb10d914fd6b741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-07T09:09:49.000Z",
      "arch": "emscripten",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/61d082a8d528a02df49d964e5e65dd0c422c2ce932dbbb5ed5a2d5563c7eb721",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-07T09:01:01.000Z",
      "arch": "aarch64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/9f8c4a281c1d495c120f6c5b61e5f6e6e6c81c7bb8bac52f3fe8f088def30aa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-07T08:58:57.000Z",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/12c636b5dfba6a270619647f16b9cbc9c87e1c8b074dbecd149f039b792498d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-07T08:59:04.000Z",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/d7d6f68fc0ea66477be2a025fee6dd70b34994a238dfebd481e9a01b5e44f5d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-07T09:01:01.000Z",
      "arch": "aarch64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/1b9c94f2baf12339b2f0ebc4cca74fcde9a64c2792899bafa6b974ac792f8c6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-07T08:58:57.000Z",
      "arch": "x86_64",
      "commit": "1083604d70a3b120efb86687631ed18576d64221",
      "fileid": "https://r2.ropensci.org/bfb35ee1c524f04ecc87adefa1668c41af84a7a223c2e83dd7bc949d236bd640",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wickra-lib/actions/runs/37595040073"
    }
  ]
}