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 514 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.1

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.1
File Size Uploaded Provenance Actions
wickra_xray-0.2.1.tar.gz 67.8 kB Without provenance Details for wickra_xray-0.2.1.tar.gz

Built distributions (wheels)

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

Total release size: 3.0 MB

Release files / wickra_xray-0.2.1.tar.gz

Download URL wickra_xray-0.2.1.tar.gz
Size 67.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8ba75270cc931c3c88415b3e3bbfeb20735ef08c206c9df113d4399c71a48d60
BLAKE2b-256 checksum
How to use checksums
729205f6fc86e280dcf264b9f36c33caf5d73390da89c7e19ae0e8fc1d76e864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-win_arm64.whl
Size 241.2 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
ea9f4d89e5dc0963515c2a112e5b6ea018feb8e102e08400d72da843d708886a
BLAKE2b-256 checksum
How to use checksums
f0bb374e0997763160bd46b2be0f3fbb94b6467bd8a137b67d929746123e9e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-win_amd64.whl
Size 259.4 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
78d6e2d1a3d10d3709353153b965e86881f5ff4e08dbb057d050bf460da8fa8e
BLAKE2b-256 checksum
How to use checksums
c1092668414f4091ddda06c978a29e6a57a6a105c6fae7b1cb7d9205dab8c579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl
Size 576.4 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
bee4f3624643e6fc18a207c4d43aebfe8263fba79a879ca1ad154f81dc68dd2e
BLAKE2b-256 checksum
How to use checksums
b83bdb9124ca1a62ebd349c19e137f0841f0c9518be391280498a2384bdae90e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-musllinux_1_2_aarch64.whl
Size 517.8 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
aa6a208eea48f49191f6bf1085c672cc4d994d89388de4ca1f108ee1e4e87c2a
BLAKE2b-256 checksum
How to use checksums
5db8588706866f76613730f45c621c00da66f46f979f11672f46caf5a0b892f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 362.9 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e249ff26ae607e4ba064d671ae377dfd466b43430226b00c9766abc11f3f258b
BLAKE2b-256 checksum
How to use checksums
4a1fc9ed948fb25a79e036403676f36a3cbfc91118d3d5270e30f32c64b3ea54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 339.7 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
5ec72c2d967e0b31d93105930a099267e795e12d96c2c064ca349e44cb77260f
BLAKE2b-256 checksum
How to use checksums
7c1ed9f70fb2273ccab40a11f8bce1196d47f158eb2c2c655513d1db6dac8d34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-macosx_11_0_arm64.whl
Size 311.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6eade055061fda27a3d422c28183912b980db0cf6ef4d854db749860a299f97c
BLAKE2b-256 checksum
How to use checksums
570e7780cd4f62fc5b2f0b6972559f2f980c7983e630168b6f76cc2daf21de03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 343.5 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c109489df22f9f10eff84d059d6da3721800561aa1d6fd6b62b6f131c7bdd61a
BLAKE2b-256 checksum
How to use checksums
f1f860253f4f136712a7ce9db5923a514b47339c66dcc1184ff5226dedf17abe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Security for wickra-xray 0.2.1

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