Skip to content

tui#

Interactive Textual app over the same data layer the CLI uses.

hlr tui

Two-pane layout: navigation column on the left, content area on the right.

Sections#

Key Section Purpose
1 Home Cache summary, cached asset table, cached vault table
2 Wallet Paste address, summary line, recent fills
3 Funding Asset input, history stats, EWMA prediction
4 Vault Address input, cached vault list, analysis summary
5 Backtest Asset input, cached candle and funding counts
6 Settings Cache directory, key reference, version

Global keys#

Key Action
16 Switch between sections
/ Open the asset picker palette (fuzzy filter over cached entities)
r Reload the active view
q Quit

The picker is a modal. Type to filter, press Enter to select. The chosen value drops into the active view's input.

What's deferred to v0.2#

  • Full strategy execution inside the TUI. For now, use hlr backtest run from your shell.
  • Detailed wallet wrapped view with charts. The CLI builds the HTML report; the TUI shows the summary only.
  • Live mode (subscribing to HL websockets). The TUI reads cache snapshots.

Performance#

Renders at 80×24 minimum. All cache and analytics work runs in worker threads via Textual's asyncio.to_thread so the UI stays responsive.