vector-ta
VectorTA is a Rust crate of technical analysis indicators focused on speed and predictable allocations, with optional SIMD/CUDA acceleration and optional Python/WASM bindings.
Full documentation (indicator list, API reference, and guides): https://vectoralpha.dev/projects/ta
Rust usage
Example: ADX over HLC slices
use ;
Features
cuda: GPU acceleration using prebuilt PTX (compute_89) shipped in the crate. Consumers do not neednvcc.cuda-build-ptx: Maintainer-only: compile PTX fromkernels/cuda/**usingnvcc.nightly-avx: Runtime-selected AVX2/AVX512 kernels onx86_64(nightly required).python: PyO3 bindings (build from source viamaturin).wasm: wasm-bindgen bindings (build from source viawasm-pack).
Python (optional)
Build + install into a virtualenv:
WASM (optional)
Build with wasm-pack:
CUDA (optional)
Enable:
[]
= { = "0.1.1", = ["cuda"] }
Notes:
- To force-disable CUDA probing/usage (tests/CI): set
CUDA_FORCE_SKIP=1. - To override where prebuilt PTX is sourced from, set
VECTOR_TA_PREBUILT_PTX_DIR(see docs link above).
License
Apache-2.0 (see LICENSE).