一键导入
quanux-indicators
Modern C++20 Indicators Library (Lazy Evaluation, Policy-Based)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Modern C++20 Indicators Library (Lazy Evaluation, Policy-Based)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reference for OS and Kernel parameter optimization on the QuanuX Edge.
Reference for using the QuanuX Control CLI (quanuxctl).
Official Figma Developer MCP integration for QuanuX. Allows agents to inspect designs, extract variables, and generate code from Figma files.
The authoritative "School of Architecture" for building QuanuX Extensions (Sidecars). Enforces the QXP protocol, Go runtime preference, and privacy-first security model.
Instructions for operating and configuring the SignalR Bridge for TopstepX.
Guidelines for adding functions to the AST translation map for QuanuX-Annex duckdb transpiler
| name | quanux-indicators |
| description | Modern C++20 Indicators Library (Lazy Evaluation, Policy-Based) |
libquanux-indicators)A high-performance, C++20 header-only library replacing TA-Lib. It supports Lazy Evaluation (via ranges) and Policy-Based Design (for Market Profile).
Use when: Building complex pipelines or needing zero-allocation loop fusion.
#include "quanux/indicators/view.hpp"
#include "quanux/indicators/sma.hpp"
// Setup view (O(1), no allocation)
auto view = prices | quanux::indicators::sma(10);
// Iterate (Computation happens here)
for (auto val : view) { ... }
Use when: You just need a std::vector result immediately.
#include "quanux/indicators/sma.hpp"
std::vector<double> results = quanux::indicators::compute_sma(prices, 10);
WARNING: Eager evaluation allocates memory for the entire result vector.
This library uses Policy-Based Design to let you choose performance characteristics.
std::vector): Fast, contiguous memory. Use for tight price ranges (Futures, Equities).std::map): Infinite range, slower access. Use for Crypto or sparsely traded assets.#include "quanux/indicators/market_profile.hpp"
#include "quanux/indicators/volume_profile.hpp"
// TPO (Time Price Opportunity)
using namespace quanux::indicators;
MarketProfile<DenseStorage> es_profile(0.25); // Tick size 0.25
es_profile.process(price);
// Volume Profile
VolumeProfile<SparseStorage> btc_profile(0.01);
btc_profile.process(price, volume);
To add new indicators, do NOT modify the core.
server/indicators/include/contrib/<name>/.#include "contrib/<name>/my_indicator.hpp".std::vector<double>, etc.).period - 1 values of extensive indicators (SMA, etc.) are NaN. Always check std::isnan() if iterating manually.The Indicator Engine is designed as a Core Subsystem but is physically decoupled.
libquanux-indicators for zero-latency execution.This module strictly adheres to the QuanuX Modular Protocol. It can be removed or replaced at any time.
quanuxctl module install indicators
quanuxctl module remove indicators
server/indicators directory clean.CMakeLists.txt to remove the subdirectory.quanuxctl module check indicators
test_registry and unit tests.test_registry and unit tests.Python bindings (pybind11 / cython) allow the indicators to be accessed from Python environments.
setup.py: Standard setuptools configuration.src/python_bindings.cpp: pybind11 wrapper linking indicator pointers to Python signatures.import quanux_indicators as qi
# 1. Eager Computing
sma_values = qi.compute_sma(prices_list, 10)
# 2. Market Profile
mp = qi.DenseMarketProfile(100.0, 0.25)
for price in ticks:
mp.process(price)
count = mp.query(100.0)