Holoscan Finance#
Holoscan Finance decodes FIX Simple Binary Encoding (SBE) market data, builds event-time quote bars, and computes rolling volatility, covariance, and correlation on the GPU, with a CPU cross-check of every validated result. Run the included equity dashboard or benchmark on synthetic data with no network card, or import the operators into your own Holoscan application.
Package info#
| Package | holoscan-finance, installed from a source checkout (not yet on PyPI) |
|---|---|
| GitHub repository | nvidia-holoscan/holoscan-finance |
| Version | 1.0.0 |
| Python namespace | holoscan.finance (operators: holoscan_finance.operators) |
| Holoscan SDK | 5.0.0 or later, tested with 5.0.0 |
| CUDA | 13.x for GPU paths; CPU-only tools run without a GPU |
| Platforms | x86_64, aarch64 |
| Language | Python 3.12 or later |
| License | Apache-2.0 |
| Maintainers | Bruce Hashemian and Jake Goldberg, NVIDIA |
| Debian package | Not published |
| PyPI package | Not published |
Operators#
The module provides ten Holoscan SDK 5 operators. Each one is a thin adapter around a library processor that is tested without Holoscan.
Ingest:
GpuSbeSourceOpreceives packets with DAQIRI GPUDirect into GPU memory, then gathers and decodes them on the GPU.GpuSbeReplaySourceOpreplays packet captures from GPU memory through the same path, with no NIC.UdpPacketSourceOpreceives packets on a kernel UDP socket, as a host baseline.DaqiriPacketSourceOpreceives packets with DAQIRI into pinned host memory, as a host baseline.SbeDecodeOpis a Python reference decoder for host packet batches.
Analytics:
QuoteBarsOpbuilds event-time quote bars on the GPU or with NumPy, and keeps rolling windows of returns.RollingRiskOpcomputes the volatility, covariance, and correlation of the newest window at a bounded rate.RiskCrossCheckOprecomputes validated GPU windows on the CPU and checks that they agree.
Output:
CallbackSinkOppasses every item to a Python callable on the producer's lane.RiskSummaryOpproduces a compact JSON risk summary for export over holomq.
The operator catalog lists each operator's ports, parameters, and recommended edges.
Quick Start#
Installation#
This module is not published as a Debian package.
This module is not yet published on PyPI. Install from a source checkout into an environment that has Holoscan SDK 5.0 available. The SDK is not a pip dependency of this module.
git clone https://github.com/nvidia-holoscan/holoscan-finance.git
cd holoscan-finance
python3 -m pip install -c requirements-dev.txt ".[gpu,analytics]"
Installing the module does not install the Holoscan SDK.
Run the included applications in the module's SDK 5.0 container, without installing anything on the host except the CLI:
git clone https://github.com/nvidia-holoscan/holoscan-finance.git
cd holoscan-finance
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements-cli.txt
holoscan run equity_analytics replay
The first run downloads the SDK container, nvcr.io/nvidia/clara-holoscan/holoscan:v5.0.0-cuda13, and installs dependencies.
No Yocto recipe is provided.
Run the examples#
Two applications ship with the module. Both run on synthetic data:
holoscan run equity_analytics replay(default) replays a synthetic market day from GPU memory and serves a live dashboard at http://localhost:8080/. Each run also compares the GPU results with a CPU recomputation.holoscan run market_data_bench smokegenerates 50,000 packets, checks GPU quote bars against CPU references, checks for packet loss, and writesbuild/market_data_bench/bench_smoke.json. A nonzero exit status means a validation gate failed.
Use holoscan modes equity_analytics or holoscan modes market_data_bench to list the other presets, such as UDP input and the finite replay of a full day.
The dashboard binds to localhost and has no authentication. Before you expose it to a network, read the security policy.
Example usage#
Import the operators through the module alias in an application that runs in the SDK 5.0 environment:
from holoscan.finance.operators import QuoteBarsOp, RollingRiskOp
The architecture guide shows how the examples connect these operators, and the equity_analytics and market_data_bench guides show complete graphs.
Inputs#
| Input | Requirements and behavior |
|---|---|
| GPU replay | Generated packet captures are staged in GPU memory. No NIC or external sender is needed. |
| UDP | A kernel socket receives packets. Decode and quote bars run on the CPU. Choose GPU analytics with a CPU cross-check (udp) or CPU analytics only (udp_cpu). |
| DAQIRI / GPUDirect | A configured ConnectX NIC receives into pinned host memory or directly into GPU memory. Follow the IGX Thor deployment guide. |
Inputs use the module's FIX SBE schema, with one SBE message per UDP datagram. Arbitrary exchange feeds and packet captures need adaptation to this format.
Examples#
| Example | What it shows |
|---|---|
equity_analytics |
A live equity dashboard with GPU rolling risk and a CPU cross-check, from synthetic replay, UDP, or DAQIRI input |
market_data_bench |
A finite GPU replay benchmark with correctness checks, packet-loss accounting, and replay-lag measurement |
Performance gates in the validation guide are targets for validation. They are not guaranteed performance on your hardware.
Limits#
The examples use synthetic data with live computation. They are demonstrations and validation tools, not production risk controls. Generated quotes do not represent the National Best Bid and Offer (NBBO). With 60 returns, the covariance matrix has rank at most 59. Correlations are descriptive, and annualized volatility is not a forecast.
This module is a technical reference, not a production risk engine or investment, trading, accounting, regulatory, or risk-management advice.