ワンクリックで
rithmic-c-extension
High-performance C++ bindings for Rithmic R | API+.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
High-performance C++ bindings for Rithmic R | API+.
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 | Rithmic C++ Extension |
| description | High-performance C++ bindings for Rithmic R | API+. |
rithmic_ext)This extension provides high-performance Cython bindings for the Rithmic C++ SDK (R | API+). It replaces the previous Pybind11 implementation.
extensions/cpp/rithmic/cython/: Cython source (rithmic.pyx) and setup.py.extensions/cpp/rithmic/sdk/: Rithmic C++ SDK (Headers/Libs).openssl, build-essential. Rithmic SSL certs (/path/to/certs).cmake (for SDK management, if using tools), setup.py builds directly.Run python3 setup.py build_ext --inplace inside extensions/cpp/rithmic/cython/.
This compiles rithmic_ext linking against the static libraries in ../sdk.
import rithmic_ext
class MyCallbacks(rithmic_ext.RCallbacksBase):
def alert(self, info):
print(f"Alert: {info['message']}")
def best_bid_quote(self, info):
print(f"Bid: {info['price']} x {info['size']}")
# Create Parameters
params = rithmic_ext.PyREngineParams()
params.app_name = "QuanuX"
params.app_version = "1.0.0"
params.log_file_path = "rithmic.log"
# Initialize Engine
engine = rithmic_ext.PyREngine(params)
# Login
lparams = rithmic_ext.PyLoginParams()
lparams.set_md_user("user")
lparams.set_md_password("pass")
lparams.set_md_cnnct_pt("server")
lparams.set_ts_user("user")
lparams.set_ts_password("pass")
lparams.set_ts_cnnct_pt("server")
engine.login(lparams, MyCallbacks())
engine.subscribe("MIME", "ESZ4", 0)
PyREngine: Main interface.RCallbacksBase: Base class for callbacks. Override _on_* methods are handled internally, just override alert, line_update, etc.PyREngineParams, PyLoginParams: Configuration objects.Cython automatically manages the GIL.
login, subscribe etc. release GIL where appropriate (handled by REngine C++ internally or wrapper). Note: Ensure pure C++ blocking calls release GIL if long running.CallbackShim acquires GIL before calling Python methods.RithmicBridge uses loop.run_in_executor for blocking calls and loop.call_soon_threadsafe for callbacks to ensuring safe integration with asyncio.This usually means the Rithmic "Connection Point" files or SSL certificates are missing from the working directory.
rithmic_ssl_cert_auth_params is present in ./ssl/ relative to where you run the application. Use scripts/setup_rithmic_env.py to link them.