Skip to main content

Wickra X-Ray — a market-microstructure explorer: footprint, order-book heatmap, liquidation map, funding/OI divergence

CI codecov PyPI License: MIT OR Apache-2.0

Wickra X-Ray — Python


▶ Live demo: all 515 indicators over real Binance market data, computed live in your browser — live.wickra.org · zero backend, powered by wickra-wasm.

A free explorer that shows, historically, what only Wickra computes — for Python. pip install wickra-xray — prebuilt wheels for Linux, macOS and Windows, nothing to compile.

Python bindings for wickra-xray-core, built with PyO3 and maturin. The surface mirrors every other Wickra binding: build an Xray from a spec JSON, drive it with command JSONs, and read back render frames.

Install

pip install wickra-xray

Pre-built wheels ship for Linux, macOS and Windows — there is nothing to compile and no C library to track down.

Building from this repository (contributors)

maturin develop --release
pytest -q

Quick start

import json
from wickra_xray import Xray

spec = json.dumps({
    "dataset_ref": "mini", "symbol": "AAA",
    "panels": [{"kind": "footprint", "price_bin": 1.0, "bucket_ms": 60000}],
})

xray = Xray(spec)
xray.command(json.dumps({"cmd": "load", "dataset": {
    "trades": [{"ts": 1000, "price": 100.4, "qty": 2.0, "side": "buy"}],
}}))
frame = json.loads(xray.command(json.dumps({"cmd": "frame"})))
print(frame["symbol"], frame["cursor_ts"])

Surface

  • Xray(spec_json) builds an xray from a spec JSON ("" or "{}" for an empty handle whose spec is set later). Raises ValueError on a malformed spec.
  • xray.command(cmd_json) applies a command JSON (set_spec, load, frame, frame_at, bounds, reset, version) and returns the response JSON. Domain errors come back in-band as {"ok":false,"error":...}.
  • Xray.version() returns the library version.

Benchmark

Every binding forwards to the same data-driven Rust core, so what this one adds is the call overhead of PyO3, not a different result. The core's throughput is measured by the repository's benchmark suite and the nightly bench.yml run; the numbers, the machine and how to reproduce them are in the repository BENCHMARKS.md.

Documentation

The full guide, the spec reference and the API documentation live in the main repository and the documentation site:

Wickra X-Ray ships native bindings for Python, Node.js, WASM and Rust, plus a C ABI hub that any C-capable language (C, C++, C#, Go, Java, R) links against — all forwarding to the same data-driven, unsafe-forbidden Rust core.

Security

Found a security issue? Please don't open a public issue. Report it privately via the repository's Security tab ("Report a vulnerability") or email support@wickra.org with a subject line starting [wickra security]. Full policy: https://github.com/wickra-lib/wickra-xray/blob/main/SECURITY.md.

Disclaimer

Wickra X-Ray is analysis software: it computes microstructure views over historical and live market data. It is provided "as is", without warranty of any kind, and is not financial advice — it places no orders. Trading carries risk of loss; review the code and use at your own discretion.

License

Licensed under either of Apache-2.0 or MIT at your option.

Metadata

Release files for wickra-xray 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wickra-xray 0.2.3
File Size Uploaded Provenance Actions
wickra_xray-0.2.3.tar.gz 68.6 kB Without provenance Details for wickra_xray-0.2.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wickra-xray 0.2.3
File Actions
wickra_xray-0.2.3-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for wickra_xray-0.2.3-cp39-abi3-win_arm64.whl
wickra_xray-0.2.3-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for wickra_xray-0.2.3-cp39-abi3-win_amd64.whl
wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl
wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl
wickra_xray-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for wickra_xray-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
wickra_xray-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for wickra_xray-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
wickra_xray-0.2.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for wickra_xray-0.2.3-cp39-abi3-macosx_11_0_arm64.whl
wickra_xray-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for wickra_xray-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 3.0 MB

Release files / wickra_xray-0.2.3.tar.gz

Download URL wickra_xray-0.2.3.tar.gz
Size 68.6 kB
Tags Source
SHA-256 checksum
How to use checksums
abacd143afd655c1f7d3dc4f0c169ef8b322ad0f78eecb39519bd28bf4e3d774
BLAKE2b-256 checksum
How to use checksums
c1d81e8c9fab52bdc81381a77d786afa4280923d68221b7ec3cf971d739ddec2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-win_arm64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-win_arm64.whl
Size 243.6 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
d2e834c0f7e5032bddaece5649914cdf9576b79fd30fac63d004c0ee11a94c15
BLAKE2b-256 checksum
How to use checksums
2dfe541632791623fdcd8cced8c460ae5fb933cac08b334dd9308046320a505a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-win_amd64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-win_amd64.whl
Size 261.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
35133628736787eb30d5d3ffe8acd2fd3149704a650a4a6bdc4aed0c770432ab
BLAKE2b-256 checksum
How to use checksums
31ac1552750af65fdf94d681464360e1c3e9771989cda4f93f2a64d9ea1caa18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl
Size 577.8 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
4ecfd0005045f68edc281b3057ff97a6c312c68ca7b3900d6537201b7bd516f8
BLAKE2b-256 checksum
How to use checksums
9e0ab7ee33473ea6973106d14928e9bae8d3adefd4e71e76961901eba7282344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl
Size 518.8 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
0ec8bfc6b795d9eb6b88731edc048192087cae96f6d1b68ee2be2d58ad6eec36
BLAKE2b-256 checksum
How to use checksums
41bf364800f26d77bf1edf268c5fc7eabcea2fdac98aea5a8aff5f11c134fc58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 364.6 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b765020f20f9a30822b8e219d57e1891daf8bc9c23ba668e503b3e0c3db9ea31
BLAKE2b-256 checksum
How to use checksums
d69c60b41785e72c19b86042439c60a0ef065c6b3ea74b0c08be299aa4841817
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 340.4 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
35967c7ae6ca5ed48727813b7e635204209d5c39b6936b50c52f419b680d2f2f
BLAKE2b-256 checksum
How to use checksums
3d45fa34f73681f4649cc8b91c6da89e699dd26012d3aa461e7d6f340cf6e7fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-macosx_11_0_arm64.whl
Size 313.6 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
280b8df6ff6b949364a90b62e2335ffbdaa1d8e4d78164d2077e760eccfe0321
BLAKE2b-256 checksum
How to use checksums
c0521e4d449675bd2c24d6c542e56df81cef4d5a5de4e2a4cb6f88b8a42ba23f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_xray-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL wickra_xray-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl
Size 345.1 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a0a3e3200602ab0ac3c426db11ea50f3959b487f628d834af961de56fec507d3
BLAKE2b-256 checksum
How to use checksums
bec2623a3edd23ad8fee504a2228a639e984202e1c913a5f7dcade46a0a26e30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for wickra-xray 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page