Guide for orchestrating QuanuX High-Performance Execution Nodes.
The QuanuX Execution Node is a bare-metal supervisor designed for low-latency trading. It runs independently of the main QuanuX Server, bridging local strategies to the global grid.
quanux-node (Go).localhost:7422 (Leaf) instead of the remote Hub.To achieve sub-millisecond latency, we use a hybrid transport model:
QuanuX offers two production-grade runtime paths. Agents should help users choose the right tool for their needs:
execution-node/cmd (Go Supervisor running Python subprocesses).import quanux_indicators (Python Bindings).execution-node/cpp (C++20 Native Binary).#include "quanux/indicators/..." (Native Headers).To maintain binary compatibility across strategy reloads, we use an Opaque Pointer pattern:
StrategyInterface.h.struct MyContext in your .cpp file.reinterpret_cast<StrategyContext*> in create_context() and callback functions.Example:
struct PingPongContext { int pos; };
extern "C" StrategyContext* create_context() {
return reinterpret_cast<StrategyContext*>(new PingPongContext());
}
The C++ node includes a built-in Backtesting Engine (node_simulator):
quanux_backtest to verify strategy logic against history before deployment.Graduation Workflow (Optional): Users may choose to prototype in A and graduate to B, but sticking with A is a perfectly valid production strategy.
As an AI Agent, you can manage these nodes using the standard QuanuX Protocol.
Strategies are Child Processes managed by the Supervisor.
Subscribe to the heartbeat topic to see active nodes:
nats sub node.*.heartbeat
(Future Capability)
Spawn command:Topic: node.<id>.spawn
{
"cmd": "./my-strategy",
"args": ["--symbol", "ESH6"],
"env": {"RISK_LIMIT": "5000"}
}
Tail the standard output of a specific strategy:
nats sub node.<id>.process.<pid>.logs
ps aux | grep nats-server).hub.url in ~/.quanux-node/config.yaml.Run this on a fresh Ubuntu/Debian server to install the node and systemd service:
curl -sL https://quanux.io/install-node | sudo bash -s -- --hub nats://hub.quanux.io:4222 --token <YOUR_TOKEN>
If installed via script, the node runs as a systemd service:
systemctl status quanux-nodejournalctl -u quanux-node -fsystemctl restart quanux-node