Skip to main content

Wickra X-Ray — a market-microstructure explorer over 514 streaming indicators

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.

Release files for wickra-xray 0.1.7

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.1.7
File Size Uploaded
wickra_xray-0.1.7.tar.gz 67.8 kB Details

Built distributions (wheels)

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

Total release size: 3.0 MB

Release files / wickra_xray-0.1.7.tar.gz

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL wickra_xray-0.1.7-cp39-abi3-macosx_11_0_arm64.whl
Size 312.8 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c83a2ed28a631c573042c6099db8181cef4c302d520ef06ab4ede9d43799a936
BLAKE2b-256 checksum
How to use checksums
88df37dd0818a719a58ed5ae0699da66ebeb894553c4bf8fbbe305546b252199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

Release history Release notifications | RSS feed

This release

0.1.7 This release

9 release files

0.1.6

9 release files

0.1.5

9 release files

0.1.4

9 release files

0.1.3

9 release files

0.1.2

9 release files

0.1.1

9 release files

0.1.0

9 release files

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