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.

Metadata

Release files for wickra-xray 0.1.8

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

Built distributions (wheels)

Table of built distributions (wheels) for wickra-xray 0.1.8
File
wickra_xray-0.1.8-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
wickra_xray-0.1.8-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
wickra_xray-0.1.8-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
wickra_xray-0.1.8-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
wickra_xray-0.1.8-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.8-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
wickra_xray-0.1.8-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
wickra_xray-0.1.8-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.8.tar.gz

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

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

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

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

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

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

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

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

Download URL wickra_xray-0.1.8-cp39-abi3-musllinux_1_2_aarch64.whl
Size 521.4 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
8b57b0f1697c84d9683417f0b24f9b20176d2b80c8441cdf5435e29ba85b93df
BLAKE2b-256 checksum
How to use checksums
52c46e73207f367987edc42b613aa35b28d593a3a6122dead93b22fb1e20525c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.1.8-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
aef7a302f9aeb702b64565484f443df106130f76431c52047564edcc6fb91767
BLAKE2b-256 checksum
How to use checksums
407a159aa2c110fc7d21b7f0f1d33b5fb2af62bd469b0698e9db91f46f1f6770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.1.8-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
29b473fa4e9f7247ba4022985928e78d8f0b63c05734c892ca077b4b89018640
BLAKE2b-256 checksum
How to use checksums
30c0c1921248264ee3cf45778b5c92c6dee7d7dc1f8afa858cfb1a55d2e59ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.1.8-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
22663b61fa4a9ad209c89b74a468442efb343031bcf2120e7e52fbc8e0f8da8e
BLAKE2b-256 checksum
How to use checksums
652f05797c4bf58d4a9bfd5dbcd7e869bbcd58882bd1ecd8f8ae8320259e9b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.1.8-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
564a727028afe5e012d491e1e57114d9349353e94a0d1be9838801454b40e7ce
BLAKE2b-256 checksum
How to use checksums
1d047ccb5c049a51265a8bf1a3c55191c682c13a2676ffb60019efe90b332175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release history Release notifications | RSS feed

0.2.0

9 release files

This release

0.1.8 This release

9 release files

0.1.7

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