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.4

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.4
File Size Uploaded
wickra_xray-0.1.4.tar.gz 68.5 kB Details

Built distributions (wheels)

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

Download URL wickra_xray-0.1.4.tar.gz
Size 68.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e48a094e37bd791f5648ba87b37d67d06abbf27671c561b290447baf67efb7b3
BLAKE2b-256 checksum
How to use checksums
32bd0ce66adc396e67e634197d5d56301858d61e6d3230f6d185ab7c401c850b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL wickra_xray-0.1.4-cp39-abi3-macosx_11_0_arm64.whl
Size 311.1 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
34da847512aef4e67bde2c00ce1732928a74b04473fc65e94e4cf0a8b61e533f
BLAKE2b-256 checksum
How to use checksums
5f8d755b47841843a9c42d68e664cb766ac2a0fd2e13497227a46b552498fbf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

Release history Release notifications | RSS feed

0.1.7

9 release files

0.1.6

9 release files

0.1.5

9 release files

This release

0.1.4 This release

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