Tick Engine
High-performance tick-processing engine — Rust core with Python bindings.
Part of FlintTrade — the open-source self-hosted trading software monorepo built with Python, React, TypeScript, and Rust.
Language: Rust + PyO3
Public surface
src/lib.rs — PyO3 module entrysrc/types.rs — core Tick / Signal / BacktestResult typesCargo.toml — crate metadata and dependencies
(See the source for the full surface.)
Install
This package is part of the FlintTrade monorepo. Install via the workspace from the repo root:
uv pip install -e packages/core/ticks
cd packages/core/ticks
cargo testIf you only want to use the package in isolation, the package's pyproject.toml,
Cargo.toml, or package.json lists its dependencies. The supported path is the
root workspace.
Tests
cd packages/core/ticks
cargo testRun one command per line. They work unchanged in bash, zsh and Windows
PowerShell — do not join them with &&, which Windows PowerShell 5.1 does not
support.
For the full test matrix, see the contributor guide at docs/DEVELOPER_GUIDE.md.
How this fits in
This package's role in the wider FlintTrade architecture is documented in docs/ARCHITECTURE.md. For end-user features it powers, see docs/USER_GUIDE.md.
Contributing
Contributions welcome. Please read contributing.md at the repo root before opening a pull request.
License
AGPL-3.0 — same as the parent repository. See LICENSE for the full text.
Indicators
110 exported indicator functions and streaming classes — pure-NumPy batch indicators, pure-Python streaming variants (optional Numba acceleration on 3 batch kernels), and Pine Scri
Gateway
Native gateway with six broker adapters, a safety-gated router, encrypted credentials and local tick dispatch. Native broker HTTP and network capture remain unavailable.