HYPERIONDocumentation

Operations documentation

Hyperion#

Hyperion is a Wt (C++) dashboard for one or more jinghong order servers, with marks from goblin-slurp on the goblin-core bus.

No authentication — install only on a trusted internal network. See System setup (security + what Hyperion talks to) and Installation (build, config, systemd).

Licensed under the Apache License 2.0 — see LICENSE.

Infrastructure (Redis UDS, account list, channels, HTTP ports) is not compiled in. It comes from a master JSON config that points at per-account env files (the same files jinghong systemd uses).

Config#

Master config (--config / HYPERION_CONFIG)#

json
{
  "redis_path": "/run/goblin-core/goblin.sock",
  "ui_hz": 4,
  "equity_hz": 1,
  "account_poll_sec": 60,
  "alpaca_limit_qpm": 200,
  "accounts": [
    "/etc/jinghong/live.env",
    { "env": "/etc/jinghong/paper3.env", "label": "Paper 3" }
  ]
}

See config/hyperion.example.json. Deploy-specific copies live outside the open-source tree (e.g. /etc/hyperion/hyperion.json).

Account env (one jinghong server)#

Required:

KeyPurpose
JINGHONG_ORDER_CHANNELIntent channel
JINGHONG_STATUS_CHANNELStatus channel
JINGHONG_HTTP_PORTHTTP port for status/account

Optional:

KeyPurpose
HYPERION_LABEL / TAB_NAME / LABELUI tab title
HYPERION_ID / JINGHONG_IDStable account id (default: env filename stem)
JINGHONG_HTTP_BINDBind address (0.0.0.0 → Hyperion uses 127.0.0.1)
JINGHONG_ALPACA_CHANNELAlpaca admin/QPM channel (else derived from STATUS)
HYPERION_HTTP_BASEFull base URL override

Example: config/account.env.example.

What it shows#

One tab per account in the master config. Each tab has Positions (live trade), Charts, Robots, Locks.

Prices come from goblin-slurp channels on the Redis UDS:

Book state comes from jinghong:

  1. HTTP bootstrap: GET {jinghong}/status
  2. Redis STATUS — fills, order_submit, heartbeats, …
  3. Redis ORDER — agent intents / heartbeats

Project sites#

Docs#

DocContents
InstallationDependencies, build, config files, run, systemd, troubleshooting
System setupgoblin-core / Redis, goblin-slurp T:/Q:, jinghong ORDER + STATUS + HTTP, security

Quick build#

bash
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/opt/wt
cmake --build build -j

Dependencies: C++23, Wt 4, libcurl, hiredis, nlohmann-json.

bash
./build/hyperion \
  --config /etc/hyperion/hyperion.json \
  --docroot ./static \
  --resources-dir /opt/wt/share/Wt/resources \
  --http-listen 127.0.0.1:8110

Full install: Installation. Ops topology: System setup.